commit | 7f984b55acb6530bf854bfcac13104228f3336c1 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Dec 28 21:08:57 2010 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Dec 28 23:18:43 2010 +0000 |
tree | 60b348bcb4d70cba8928aa8db8fbf8e90c5110a0 | |
parent | 862af8adbe6b9ccb7c00c13717b1f92465f79aa2 [diff] |
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)