Skip to content

Commit

Permalink
ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_…
Browse files Browse the repository at this point in the history
…dai and snd_soc_unregister_dai

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Nov 25, 2010
1 parent ab4e574 commit 8ce28bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/samsung/neo1973_gta02_wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8ce28bf

Please sign in to comment.