Re: [PATCH 07/15] ASoC: twl6040: Support other sample rates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mon, Dec 06, 2010 at 06:18:02PM -0600, Olaya, Margarita wrote:
> The twl6040 can support more sample rates other than 88.2 and 96k.
> 
> Signed-off-by: Margarita Olaya Cabrera <magi.olaya@xxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

>  	rate = params_rate(params);
>  	switch (rate) {
> +	case 11250:
> +	case 22500:
> +	case 44100:
>  	case 88200:
>  		lppllctl |= TWL6040_LPLLFIN;
>  		priv->sysclk = 17640000;
>  		break;
> +	case 8000:
> +	case 16000:
> +	case 32000:
> +	case 48000:
>  	case 96000:
>  		lppllctl &= ~TWL6040_LPLLFIN;
>  		priv->sysclk = 19200000;

I'd expect to see more code for this unless the CODEC is always running
as clock slave?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

Add to Google Powered by Linux