[alsa-devel] [PATCH] ASoC: adau1701: Add 44.1 KHz to supported sample rates

Lars-Peter Clausen lars at metafoo.de
Wed Nov 11 12:49:30 CET 2015


On 11/11/2015 12:40 PM, Pascal Huerst wrote:
> On 20.10.2015 11:10, Lars-Peter Clausen wrote:
>> On 10/15/2015 01:16 PM, pascal.huerst at gmail.com wrote:
>>> From: Pascal Huerst <pascal.huerst at gmail.com>
>>>
>>> According to the datasheet, this device does also support 44.1 KHz
>>> as sample rate. This adds the necessary changes to support this.
>>>
>>> See Datasheet: Rev. B / page 39 / SR[1:0]
>>>
>>> Signed-off-by: Pascal Huerst <pascal.huerst at gmail.com>
>>
>> Hm, right. The sample rates that part can run at depend on the external
>> clock rate. It can run at ext_clk / 256, ext_clk / 128 or ext_clk / 64.
>> Maybe we should just implement it like that.
>>
>> Do you have support for switching the external clock at runtime on your
>> platform?
> 
> Yes, I can switch th eclock at runtime.

How do you do it? From the board driver?

- Lars


More information about the Alsa-devel mailing list