Re: [PATCH] ASoC: adau1701: Add 44.1 KHz to supported sample rates

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

 




On 11.11.2015 12:49, Lars-Peter Clausen wrote:
> 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@xxxxxxxxx wrote:
>>>> From: Pascal Huerst <pascal.huerst@xxxxxxxxx>
>>>>
>>>> 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@xxxxxxxxx>
>>>
>>> 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?

Yes, in the board driver, within the .hw_params callback.

> - Lars
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@xxxxxxxxxxxxxxxx
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



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

  Powered by Linux