From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751192AbdBXKdw (ORCPT ); Fri, 24 Feb 2017 05:33:52 -0500 Received: from exsmtp02.microchip.com ([198.175.253.38]:20589 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751080AbdBXKdp (ORCPT ); Fri, 24 Feb 2017 05:33:45 -0500 Subject: Re: [PATCH] ASoC: atmel-classd: fix audio clock rate To: Songjun Wu , , References: <20170224071043.25522-1-songjun.wu@microchip.com> CC: Jaroslav Kysela , , , Takashi Iwai , Liam Girdwood From: Nicolas Ferre Organization: microchip Message-ID: <1c43cc9a-162b-b4c4-ed97-5eb1476ddc4f@microchip.com> Date: Fri, 24 Feb 2017 11:33:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170224071043.25522-1-songjun.wu@microchip.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 24/02/2017 à 08:10, Songjun Wu a écrit : > Fix the audio clock rate according to the datasheet. > > Reported-by: Dushara Jayasinghe > Signed-off-by: Songjun Wu Yes, for sure ;-) But with these tags: Fixes: e0a25b6d1862 ("ASoC: atmel-classd: add the Audio Class D Amplifier") Cc: # 4.4+ Acked-by: Nicolas Ferre Thanks! > --- > > sound/soc/atmel/atmel-classd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c > index 89ac5f5a93eb..7ae46c2647d4 100644 > --- a/sound/soc/atmel/atmel-classd.c > +++ b/sound/soc/atmel/atmel-classd.c > @@ -349,7 +349,7 @@ static int atmel_classd_codec_dai_digital_mute(struct snd_soc_dai *codec_dai, > } > > #define CLASSD_ACLK_RATE_11M2896_MPY_8 (112896 * 100 * 8) > -#define CLASSD_ACLK_RATE_12M288_MPY_8 (12228 * 1000 * 8) > +#define CLASSD_ACLK_RATE_12M288_MPY_8 (12288 * 1000 * 8) > > static struct { > int rate; > -- Nicolas Ferre