diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-11-25 16:50:56 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-25 11:14:05 +0000 |
commit | 8ce28bfcf25527b228b8dff1d38480e3643a94d1 (patch) | |
tree | 82eee0ba80d37ce295b375f441a28cacdb63bee0 /sound/soc | |
parent | ab4e57446ff2e0a5c154cb703595d574130dc919 (diff) | |
download | kernel_samsung_smdk4412-8ce28bfcf25527b228b8dff1d38480e3643a94d1.zip kernel_samsung_smdk4412-8ce28bfcf25527b228b8dff1d38480e3643a94d1.tar.gz kernel_samsung_smdk4412-8ce28bfcf25527b228b8dff1d38480e3643a94d1.tar.bz2 |
ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_dai and snd_soc_unregister_dai
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/samsung/neo1973_gta02_wm8753.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/neo1973_gta02_wm8753.c b/sound/soc/samsung/neo1973_gta02_wm8753.c index 920e8d1..8c65b63 100644 --- a/sound/soc/samsung/neo1973_gta02_wm8753.c +++ b/sound/soc/samsung/neo1973_gta02_wm8753.c @@ -438,7 +438,7 @@ static int __init neo1973_gta02_init(void) return -ENOMEM; /* register bluetooth DAI here */ - ret = snd_soc_register_dai(&neo1973_gta02_snd_device->dev, -1, &bt_dai); + ret = snd_soc_register_dai(&neo1973_gta02_snd_device->dev, &bt_dai); if (ret) { platform_device_put(neo1973_gta02_snd_device); return ret; @@ -491,7 +491,7 @@ module_init(neo1973_gta02_init); static void __exit neo1973_gta02_exit(void) { - snd_soc_unregister_dai(&neo1973_gta02_snd_device->dev, -1); + snd_soc_unregister_dai(&neo1973_gta02_snd_device->dev); platform_device_unregister(neo1973_gta02_snd_device); gpio_free(GTA02_GPIO_HP_IN); gpio_free(GTA02_GPIO_AMP_SHUT); |