[alsa-devel] [PATCH] ALSA: ASoC: support more sample rates on raumfeld devices

Timur Tabi timur at freescale.com
Wed Jan 13 16:35:55 CET 2010


Mark Brown wrote:
> On Wed, Jan 13, 2010 at 11:25:38AM +0100, Daniel Mack wrote:
>> Add support for sample rates other than 44100Khz on raumfeld audio
>> devices. Force the codec's supported sample rates as the table of
>> supported rates which is calculated at run-time does not suffice: if we
>> call snd_soc_dai_set_sysclk() at stream startup, half of the possible
>> rates are missing.
> 
> I'm not massively enthusiastic about this - I'd much rather be able to
> give the CODEC a hook to let it know what MCLK rates it can have and a
> callback to update them.  It's a perfect case for the clock API but of
> course we can't use that off-SoC :/

This is how I was planning on doing it for the P1022DS.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Alsa-devel mailing list