]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Call snd_soc_unregister_dais instead of snd_soc_unregister_dai in sh4_soc_dai_r...
authorAxel Lin <axel.lin@gmail.com>
Thu, 25 Nov 2010 09:23:55 +0000 (17:23 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 25 Nov 2010 11:07:28 +0000 (11:07 +0000)
commit92abea8792b8282f76720b2b584547d31b41bff2
treef2e650bbe8b2a7cb5e92f7bb869fbc4aacb5594c
parent3e61720ec610ae2b025c9f77a0a1bd999f860430
ASoC: Call snd_soc_unregister_dais instead of snd_soc_unregister_dai in sh4_soc_dai_remove

We call snd_soc_register_dais() in sh4_soc_dai_probe(),
thus we should call snd_soc_unregister_dais() in sh4_soc_dai_remove().

Otherwise, we got "too many arguments to function 'snd_soc_unregister_dai'"
error message.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/ssi.c