* [PATCH] ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_dai and snd_soc_unregister_dai
@ 2010-11-25 8:50 Axel Lin
2010-11-25 10:48 ` Liam Girdwood
2010-11-25 11:16 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2010-11-25 8:50 UTC (permalink / raw)
To: linux-kernel; +Cc: Graeme Gregory, Liam Girdwood, Mark Brown, alsa-devel
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
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);
--
1.7.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_dai and snd_soc_unregister_dai
2010-11-25 8:50 [PATCH] ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_dai and snd_soc_unregister_dai Axel Lin
@ 2010-11-25 10:48 ` Liam Girdwood
2010-11-25 11:16 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2010-11-25 10:48 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Graeme Gregory, Mark Brown, alsa-devel
On Thu, 2010-11-25 at 16:50 +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> 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);
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_dai and snd_soc_unregister_dai
2010-11-25 8:50 [PATCH] ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_dai and snd_soc_unregister_dai Axel Lin
2010-11-25 10:48 ` Liam Girdwood
@ 2010-11-25 11:16 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2010-11-25 11:16 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Graeme Gregory, Liam Girdwood, alsa-devel
On Thu, Nov 25, 2010 at 04:50:56PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-25 11:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-25 8:50 [PATCH] ASoC: neo1973_gta02_wm8753: fix wrong parameter for snd_soc_register_dai and snd_soc_unregister_dai Axel Lin
2010-11-25 10:48 ` Liam Girdwood
2010-11-25 11:16 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox