lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1290682085.3302.15.camel@odin>
Date:	Thu, 25 Nov 2010 10:48:05 +0000
From:	Liam Girdwood <lrg@...mlogic.co.uk>
To:	Axel Lin <axel.lin@...il.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>,
	Graeme Gregory <graeme@...nmoko.org>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	alsa-devel@...a-project.org
Subject: Re: [PATCH] ASoC: neo1973_gta02_wm8753: fix wrong parameter for
 snd_soc_register_dai and snd_soc_unregister_dai

On Thu, 2010-11-25 at 16:50 +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@...il.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@...mlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ