From: Janusz Krzysztofik Date: Tue, 1 Feb 2011 12:01:17 +0000 (+0100) Subject: ASoC: CX20442: fix NULL pointer dereference X-Git-Tag: v2.6.38-rc4~14^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f019ee5feb344ff0b22b58df4568676295aae14f;p=pandora-kernel.git ASoC: CX20442: fix NULL pointer dereference The CX20442 codec driver never provided the snd_soc_codec_driver's .reg_cache_default member. With the latest ASoC framework changes, it seems to be referred unconditionally, resulting in a NULL pointer dereference if missing. Provide it. Created and tested on Amstrad Delta against linux-2.6.38-rc2 Signed-off-by: Janusz Krzysztofik Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed