From: Lars-Peter Clausen Date: Tue, 28 Dec 2010 20:08:57 +0000 (+0100) Subject: ASoC: codecs: Add missing control_type initialization X-Git-Tag: v2.6.37~12^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f984b55acb6530bf854bfcac13104228f3336c1;p=pandora-kernel.git 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 Signed-off-by: Mark Brown Cc: stable@kernel.org (for 2.6.37 only) --- Reading git-diff-tree failed