]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitecbec242961ec66e900b5649ded1e40f5d5edc41
tree76c0e1c156e9ee0132049f93fe9b7e9e46fa0ba4
parent7f50548abb5454bd82c25aae15f0a3bf6a530f46
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