]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fixup oops in generic AC97 codec glue
authorManuel Lauss <manuel.lauss@googlemail.com>
Mon, 4 Jan 2010 15:29:49 +0000 (16:29 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Jan 2010 18:30:01 +0000 (18:30 +0000)
commitc2cab430277562c9ce393ec0dc3dc06f65410225
tree76c0e1c156e9ee0132049f93fe9b7e9e46fa0ba4
parent4339938e1dc78d81fe0f4130236d9d6aeee020b3
ASoC: fixup oops in generic AC97 codec glue

Initialize the glue by calling snd_soc_new_ac97_codec() as is done
in other ASoC AC97 codecs.  Fixes an oops caused by dereferencing
uninitialized members in snd_soc_new_pcms().

Run-tested on Au1250.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ac97.c