ASoC: Fix register cache initialisation for WM8753
commit1c517c243cc762ac9d926ff5afd042d17bcf063b
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jul 2009 09:33:39 +0000 (3 10:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 21:39:34 +0000 (30 14:39 -0700)
tree0cf611f1257375228209254923019cedc2e8296c
parent0cb3ced579f18fe2664dc86b2fc1c41e42176ce2
ASoC: Fix register cache initialisation for WM8753

commit 1df892cba45f9856d369a6a317ad2d1e44bca423 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8753.c