ASoC: Fix passing platform_data to ac97 bus users and fix a leak
authorGraham Gower <graham.gower@gmail.com>
Thu, 25 Mar 2010 00:22:12 +0000 (10:52 +1030)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Mar 2010 20:00:37 +0000 (21:00 +0100)
commitfb48e3c6a4d8888aff61fbf567aadac7d206e973
tree3fba75703831f392034271f62b73484764ffc675
parenta8462bde78fdb77c8ede61e1af99617905a78ccf
ASoC: Fix passing platform_data to ac97 bus users and fix a leak

[The issue is an attempt to write the pdata without the AC97 device
allocated when using ac97.c - also added a comment in soc-core.c for the
special case for ac97. -- broonie]

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ac97.c
sound/soc/soc-core.c