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: <20130508082205.GK3102@gmail.com>
Date:	Wed, 8 May 2013 09:22:05 +0100
From:	Lee Jones <lee.jones@...aro.org>
To:	Fabio Baltieri <fabio.baltieri@...aro.org>
Cc:	Mark Brown <broonie@...nel.org>,
	Liam Girdwood <lgirdwood@...il.com>,
	alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
	Linus Walleij <linus.walleij@...aro.org>,
	Ola Lilja <ola.o.lilja@...ricsson.com>
Subject: Re: [PATCH 6/6] ASoC: ux500: Use the first two AD slots for capture

On Wed, 08 May 2013, Fabio Baltieri wrote:

> Set AD_OUT1 and AD_OUT2, corresponding to LINL and LINR pins, as the
> default input slots for the capture interfaces.
> 
> Signed-off-by: Fabio Baltieri <fabio.baltieri@...aro.org>
> ---
>  sound/soc/codecs/ab8500-codec.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c
> index 7c026d4..9dafd52 100644
> --- a/sound/soc/codecs/ab8500-codec.c
> +++ b/sound/soc/codecs/ab8500-codec.c
> @@ -2334,17 +2334,18 @@ static int ab8500_codec_set_dai_tdm_slot(struct snd_soc_dai *dai,
>  	case 0:
>  		break;
>  	case 1:
> -		/* AD_OUT3 -> slot 0 & 1 */
> -		snd_soc_update_bits(codec, AB8500_ADSLOTSEL1, AB8500_MASK_ALL,
> -				AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_EVEN |
> -				AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_ODD);
> +		/* AD_OUT1 -> slot 0 & 1 */
> +		snd_soc_update_bits(codec, AB8500_ADSLOTSEL1,
> +				AB8500_MASK_ALL,
> +				AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_EVEN |
> +				AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_ODD);
>  		break;
>  	case 2:
> -		/* AD_OUT3 -> slot 0, AD_OUT2 -> slot 1 */
> +		/* AD_OUT1 -> slot 0, AD_OUT2 -> slot 1 */
>  		snd_soc_update_bits(codec,
>  				AB8500_ADSLOTSEL1,
>  				AB8500_MASK_ALL,
> -				AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_EVEN |
> +				AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_EVEN |
>  				AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_ODD);
>  		break;
>  	case 8:

Acked-by: Lee Jones <lee.jones@...aro.org>

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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