From patchwork Thu Jul 17 13:21:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolin Chen X-Patchwork-Id: 371128 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6768E14017A for ; Thu, 17 Jul 2014 23:21:45 +1000 (EST) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 42F281A0986 for ; Thu, 17 Jul 2014 23:21:45 +1000 (EST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0206.outbound.protection.outlook.com [207.46.163.206]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 68BA11A047A for ; Thu, 17 Jul 2014 23:19:56 +1000 (EST) Received: from CH1PR03CA012.namprd03.prod.outlook.com (10.255.156.157) by DM2PR03MB367.namprd03.prod.outlook.com (10.141.55.21) with Microsoft SMTP Server (TLS) id 15.0.985.8; Thu, 17 Jul 2014 13:19:25 +0000 Received: from BN1BFFO11FD019.protection.gbl (10.255.156.132) by CH1PR03CA012.outlook.office365.com (10.255.156.157) with Microsoft SMTP Server (TLS) id 15.0.985.8 via Frontend Transport; Thu, 17 Jul 2014 13:19:24 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD019.mail.protection.outlook.com (10.58.144.82) with Microsoft SMTP Server (TLS) id 15.0.980.11 via Frontend Transport; Thu, 17 Jul 2014 13:19:24 +0000 Received: from rio.ap.freescale.net (rio.ap.freescale.net [10.192.242.9]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s6HDJEkD021446; Thu, 17 Jul 2014 06:19:21 -0700 From: Nicolin Chen To: Subject: [PATCH 2/2] ASoC: fsl_sai: Fix incorrect register writing in fsl_sai_isr() Date: Thu, 17 Jul 2014 21:21:38 +0800 Message-ID: <25a59f4a687232e0dd90376d640fbfd0eae65e2a.1405603108.git.nicoleotsuka@gmail.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: References: X-EOPAttributedMessage: 0 X-Matching-Connectors: 130500767648419044; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(189002)(199002)(82202001)(85306003)(76176999)(92566001)(87572001)(55446002)(99396002)(77156001)(79102001)(105596002)(74662001)(64706001)(87936001)(84676001)(83072002)(92726001)(95666004)(89996001)(81542001)(46102001)(88136002)(81342001)(36756003)(19580405001)(73972005)(19580395003)(2351001)(107046002)(229853001)(4396001)(110136001)(93916002)(26826002)(68736004)(74502001)(86362001)(48376002)(80022001)(87286001)(85852003)(6806004)(102836001)(50986999)(81156004)(77982001)(73392001)(106466001)(47776003)(44976005)(33646002)(50226001)(69596002)(81442001)(21056001)(104166001)(62966002)(50466002)(97736001)(31966008)(104016003)(61266001)(20776003); DIR:OUT; SFP:; SCL:1; SRVR:DM2PR03MB367; H:az84smr01.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 027578BB13 Received-SPF: SoftFail (: domain of transitioning gmail.com discourages use of 192.88.158.2 as permitted sender) Authentication-Results: spf=softfail (sender IP is 192.88.158.2) smtp.mailfrom=nicoleotsuka@gmail.com; Cc: alsa-devel@alsa-project.org, b42378@freescale.com, b02247@freescale.com, linux-kernel@vger.kernel.org, timur@tabi.org, Li.Xiubo@freescale.com, linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" In the rx irq handling part, we should clear the flags in RCSR not TCSR. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_sai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index b10dbd8..1b6ee2c 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -106,7 +106,7 @@ irq_rx: xcsr &= ~FSL_SAI_CSR_xF_MASK; if (flags) - regmap_write(sai->regmap, FSL_SAI_TCSR, flags | xcsr); + regmap_write(sai->regmap, FSL_SAI_RCSR, flags | xcsr); out: if (irq_none)