ASoC: Fix register cache initialisation for WM8753
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jul 2009 09:33:39 +0000 (10:33 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jul 2009 09:41:45 +0000 (10:41 +0100)
commit1df892cba45f9856d369a6a317ad2d1e44bca423
tree290bc3c176dde2e0be7616d4a2a8fe79b2f2bacc
parentda9ff1f796e81976935407251815838bef9868d4
ASoC: Fix register cache initialisation for WM8753

The wrong register cache variable was being used to provide the size for
the memcpy(), resulting in a copy of only a void * of data.

Reported-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8753.c