diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2011-02-01 13:01:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-02-01 15:13:56 +0100 |
commit | f019ee5feb344ff0b22b58df4568676295aae14f (patch) | |
tree | 477fffe9007cdabc7052e46354166867fb18ccaf /kernel/uid16.c | |
parent | ASoC: Amstrad Delta: fix const related build error (diff) | |
download | linux-f019ee5feb344ff0b22b58df4568676295aae14f.tar.xz linux-f019ee5feb344ff0b22b58df4568676295aae14f.zip |
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 <jkrzyszt@tis.icnet.pl>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions