[alsa-devel] [PATCH] ASoC: Invert speaker enabling behaviour in SmartQ sound driver

Liam Girdwood lrg at slimlogic.co.uk
Tue Jul 6 10:07:36 CEST 2010


On Sun, 2010-07-04 at 15:12 +0200, Maurus Cuelenaere wrote:
> The speaker was enabled when the headphone was plugged in, which isn't the
> wanted behaviour so correct this.
> 
> Signed-off-by: Maurus Cuelenaere <mcuelenaere at gmail.com>
> ---
>  sound/soc/s3c24xx/smartq_wm8987.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/s3c24xx/smartq_wm8987.c b/sound/soc/s3c24xx/smartq_wm8987.c
> index c90ef96..b480348 100644
> --- a/sound/soc/s3c24xx/smartq_wm8987.c
> +++ b/sound/soc/s3c24xx/smartq_wm8987.c
> @@ -112,7 +112,6 @@ static struct snd_soc_jack_pin smartq_jack_pins[] = {
>  	{
>  		.pin	= "Internal Speaker",
>  		.mask	= SND_JACK_HEADPHONE,
> -		.invert	= true,
>  	},
>  };
>  
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list