Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752260AbaBJIS2 (ORCPT ); Mon, 10 Feb 2014 03:18:28 -0500 Received: from mail-bn1lp0155.outbound.protection.outlook.com ([207.46.163.155]:25261 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108AbaBJIS1 convert rfc822-to-8bit (ORCPT ); Mon, 10 Feb 2014 03:18:27 -0500 From: "Li.Xiubo@freescale.com" To: "guangyu.chen@freescale.com" CC: "broonie@kernel.org" , "lgirdwood@gmail.com" , "perex@perex.cz" , "tiwai@suse.de" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] ASoC: fsl-esai: fix ESAI TDM slot setting Thread-Topic: [PATCH] ASoC: fsl-esai: fix ESAI TDM slot setting Thread-Index: AQHPJjS7Y4SjfJU+qkicZ0YluXSuwJquHSIAgAAGMMA= Date: Mon, 10 Feb 2014 08:18:23 +0000 Message-ID: <3613612f0b3841b6a0e590b0c95e95c9@BY2PR03MB505.namprd03.prod.outlook.com> References: <1392014837-22308-1-git-send-email-Li.Xiubo@freescale.com> <20140210075031.GA16453@MrMyself> In-Reply-To: <20140210075031.GA16453@MrMyself> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [123.151.195.49] x-forefront-prvs: 0118CD8765 x-forefront-antispam-report: SFV:NSPM;SFS:(10009001)(6009001)(51704005)(199002)(189002)(164054003)(54356001)(76482001)(4396001)(46102001)(51856001)(53806001)(56776001)(54316002)(81342001)(33646001)(49866001)(50986001)(74876001)(47736001)(47976001)(95416001)(76796001)(76786001)(81542001)(74706001)(93516002)(90146001)(94316002)(94946001)(80976001)(77982001)(59766001)(83322001)(79102001)(74366001)(69226001)(63696002)(86362001)(2656002)(76576001)(92566001)(56816005)(87936001)(65816001)(87266001)(81816001)(81686001)(31966008)(85306002)(66066001)(74662001)(93136001)(74502001)(47446002)(83072002)(85852003)(74316001)(80022001)(24736002)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR03MB441;H:BY2PR03MB505.namprd03.prod.outlook.com;CLIP:123.151.195.49;FPR:FEF8DB1F.AB8074F5.83FAB195.901CDA3B.200A4;InfoNoRecordsA:1;MX:1;LANG:; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > diff --git a/sound/soc/fsl/fsl_esai.h b/sound/soc/fsl/fsl_esai.h > > index 9c9f957..75e1403 100644 > > --- a/sound/soc/fsl/fsl_esai.h > > +++ b/sound/soc/fsl/fsl_esai.h > > @@ -322,7 +322,7 @@ > > #define ESAI_xSMB_xS_SHIFT 0 > > #define ESAI_xSMB_xS_WIDTH 16 > > #define ESAI_xSMB_xS_MASK (((1 << ESAI_xSMB_xS_WIDTH) - 1) << > ESAI_xSMB_xS_SHIFT) > > -#define ESAI_xSMB_xS(v) (((v) >> ESAI_xSMA_xS_WIDTH) & > ESAI_xSMA_xS_MASK) > > +#define ESAI_xSMB_xS(v) (((v) >> ESAI_xSMA_xS_WIDTH) & > ESAI_xSMB_xS_MASK) > > It should use ESAI_xSMB_xS_WIDTH. > Well, the ESAI_xSMB_xS_WIDTH is 0x0010(16), and ESAI_xSMB_xS_MASK will be 0xFFFF. Thanks, -- Best Regards, Xiubo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/