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)
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)

No differences found