ALSA: ASoC: Fix register cache size for UDA1380
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 11 Jun 2008 12:47:07 +0000 (13:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 13 Jun 2008 14:47:46 +0000 (16:47 +0200)
commit8ddd440768e04e0c158c2bfa6178928e1f1eef3e
tree262d5d584301f92bb0a6a984b784e278fd75f0dd
parentd751b233bb8568f1de1ccbe3824ca69090326251
ALSA: ASoC: Fix register cache size for UDA1380

The register cache size is used by the codec_reg sysfs file which works in
terms of the register cache access functions rather than in terms of raw
access to the cache so the size specified needs to be in terms of the
number of elements.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/uda1380.c