From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Huerst Subject: Re: [PATCH] ASoC: adau1701: Add 44.1 KHz to supported sample rates Date: Wed, 11 Nov 2015 13:42:02 +0100 Message-ID: <5643379A.7000001@gmail.com> References: <1444907766-9892-1-git-send-email-pascal.huerst@gmail.com> <56260521.6080805@metafoo.de> <56432940.4040306@gmail.com> <56432B4A.5090606@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by alsa0.perex.cz (Postfix) with ESMTP id C1ACC26043A for ; Wed, 11 Nov 2015 13:42:05 +0100 (CET) Received: by wmvv187 with SMTP id v187so54086410wmv.1 for ; Wed, 11 Nov 2015 04:42:05 -0800 (PST) In-Reply-To: <56432B4A.5090606@metafoo.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Lars-Peter Clausen Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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@gmail.com wrote: >>>> From: Pascal Huerst >>>> >>>> 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 >>> >>> 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@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >