ASoC: au1x: dbdma2: fix oops on soc device removal.
authorManuel Lauss <manuel.lauss@googlemail.com>
Tue, 1 Dec 2009 17:10:34 +0000 (18:10 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 3 Dec 2009 10:49:55 +0000 (10:49 +0000)
commit1bc8079879e8edfff451b62b7550bdd18523f963
treeadfd5aee1bd8f951eee2487d5fd274be212ee968
parenta649d1fcc9bd2299cb06b6594fabb429fa50f174
ASoC: au1x: dbdma2: fix oops on soc device removal.

platform_device_unregister() frees resources for us, no need to
do it explicitly.  Fixes an oops when machine code removes the
soc-audio device.

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/au1x/dbdma2.c