ASoC: codecs: Add missing control_type initialization
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 28 Dec 2010 20:08:57 +0000 (21:08 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Dec 2010 23:18:43 +0000 (23:18 +0000)
commit7f984b55acb6530bf854bfcac13104228f3336c1
tree60b348bcb4d70cba8928aa8db8fbf8e90c5110a0
parent862af8adbe6b9ccb7c00c13717b1f92465f79aa2
ASoC: codecs: Add missing control_type initialization

Some codec drivers do not initialize the control_type field in their private
device struct, but still use it when calling snd_soc_codec_set_cache_io.
This patch fixes the issue by properly initializing it in the drivers probe
functions.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org (for 2.6.37 only)
sound/soc/codecs/wm8940.c
sound/soc/codecs/wm8955.c
sound/soc/codecs/wm8960.c
sound/soc/codecs/wm8971.c
sound/soc/codecs/wm9081.c