]> err.no Git - linux-2.6/commit
ALSA: ASoC: Tweak tlv320aicx reg_cache_size
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 11 Jun 2008 12:47:08 +0000 (13:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 13 Jun 2008 14:47:50 +0000 (16:47 +0200)
commitae2ff19180d7dcac438e399f874d4de230b7f326
tree83b7fe7bf9b65b42bb7a3b3945c7236de6a27437
parent8ddd440768e04e0c158c2bfa6178928e1f1eef3e
ALSA: ASoC: Tweak tlv320aicx reg_cache_size

ASoC codec drivers frequently set the register cache size using sizeof()
rather than ARRAY_SIZE(). For tlv320aicx either is correct since the
registers are 8 bit but update to use ARRAY_SIZE() for clarity.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/tlv320aic3x.c