Message ID | 1490206862-26065-4-git-send-email-b.zolnierkie@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 414C56020B for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 22 Mar 2017 18:22:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BBD228354 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 22 Mar 2017 18:22:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 308532846B; Wed, 22 Mar 2017 18:22:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B915428354 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 22 Mar 2017 18:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=MgDwq7UbX2oTG6KcJLl9yYMn0czpB4wA5OmmYbc2y4s=; b=ujxzQu647LStOP6NWLoxeC+g4w AGL7VpcDrsMEZ8HU74ncTXIhTtQzERMbPiNmTFUs+FoGF4JywgSYQQH3IoH9gQSsafnqvH6c3Su/n BupGYbJW7O0Ih3YSd/q4JI96d3d4Kydb+8yg++VpE0bgatwHHKhNa3EoQpOQFrNJ+CX8qgi++XJ4E hckNfjsnMDnBfX+aDHW+HPv2/zILqQYsSb8441tkN63NXeLn/ODe+S8TYWqtJ3pnhkUYpSXo1WPaM nG+cWRMUBusnyo0PRyoxPrKygk68FhTeptJH5zlPksYI+YZ9O//Gbksg14WMZmJ4ZZGUF9qBOQIJU lgiV3beA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqkth-0002Ua-E0; Wed, 22 Mar 2017 18:22:13 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqktO-0002Ai-3V for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 18:21:56 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ON800RZVB05SJ70@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2017 03:21:41 +0900 (KST) Received: from epsmges5p2.samsung.com (unknown [182.195.42.45]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20170322182140epcas5p2ffa4f5aa827d015827a312b430538ed9~uR0ffXKcT0173501735epcas5p21; Wed, 22 Mar 2017 18:21:40 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2.samsung.com (EPCPMTA) with SMTP id 07.22.04790.4B0C2D85; Thu, 23 Mar 2017 03:21:40 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170322182139epcas5p32d912444c0be8747565a4979f8744572~uR0eX2pAr3210232102epcas5p37; Wed, 22 Mar 2017 18:21:39 +0000 (GMT) X-AuditID: b6c32a2d-f793d6d0000012b6-0e-58d2c0b470a8 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id F3.7E.06422.3B0C2D85; Thu, 23 Mar 2017 03:21:39 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ON8005Z0AZJ9P00@mmp2.samsung.com>; Thu, 23 Mar 2017 03:21:39 +0900 (KST) From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> To: Tejun Heo <tj@kernel.org> Subject: [PATCH v3 3/5] pata_bk3710: clear status bits of BMISP on chipset initialization Date: Wed, 22 Mar 2017 19:21:00 +0100 Message-id: <1490206862-26065-4-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOIsWRmVeSWpSXmKPExsWy7bCmpu6WA5ciDNZ/1bT4O+kYu8XGGetZ LSY9ec9s8bN9C5PFpsfXWC2O7XjEZHF51xw2i9uXeS32925gsjiz6ha7xa/lRxkduD1amnvY PH7/msTo8f5GK7vHg6n/mTx2zrrL7rFpVSebx+Yl9R59W1Yxehy/sZ3J4/MmuQCuKC6blNSc zLLUIn27BK6MZZfPMRXcZau4c38xcwPjJdYuRk4OCQETiZXPLzND2GISF+6tZ+ti5OIQEljK KHGn5xY7hNPOJPG0YQUTTMfjDXdYIBJzGCXW9TxggnB+MUr8+3ueBaSKTcBKYmL7KkYQW0RA VuLKtIeMIEXMAl+YJDZ0XgRLCAtES3yYvpANxGYRUJW4NPEdWDOvgIfElHn/odbJS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ucWleel6yfm5mxjBkfJMegfj4V3uhxgFOBiVeHgjai5FCLEmlhVX5h5i lOBgVhLhLd8DFOJNSaysSi3Kjy8qzUktPsRoCnTXRGYp0eR8YBTnlcQbmpibmBsbWJhbWpoY KYnzNs5+Fi4kkJ5YkpqdmlqQWgTTx8TBKdXAWJ+z9sSdzItu6+YeeR7v8b/mwDSFgKorc7yr 9Y1FYm5qlV2JVy+1PqCya/Pawj9pZ429eG6WJHDfLTwdwZ2w8VtFj7Fmw3Sn74x2/Nz3ZObk hM3MkPRhXvCh/YBSQomZyys+Pl4VwQWOrYK9ussmdoceEuGQzJ5pJKJuErVRzjnh8FIL/1dK LMUZiYZazEXFiQCymd88qgIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170322182139epcas5p32d912444c0be8747565a4979f8744572 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?QmFydGxvbWllaiBab2xuaWVya2lld2ljehtTUlBPTC1LZXJu?= =?UTF-8?B?ZWwgKFRQKRvsgrzshLHsoITsnpAbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?QmFydGxvbWllaiBab2xuaWVya2lld2ljehtTUlBPTC1LZXJu?= =?UTF-8?B?ZWwgKFRQKRtTYW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBF?= =?UTF-8?B?bmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20170322182139epcas5p32d912444c0be8747565a4979f8744572 X-RootMTR: 20170322182139epcas5p32d912444c0be8747565a4979f8744572 References: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> <CGME20170322182139epcas5p32d912444c0be8747565a4979f8744572@epcas5p3.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_112154_347970_5478FDEB X-CRM114-Status: GOOD ( 11.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Russell King <linux@arm.linux.org.uk>, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>, Arnd Bergmann <arnd@arndb.de>, b.zolnierkie@samsung.com, Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>, Kevin Hilman <khilman@baylibre.com>, Sekhar Nori <nsekhar@ti.com>, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
On 3/22/2017 9:21 PM, Bartlomiej Zolnierkiewicz wrote: > Clear IORDYINT, INTRSTAT and DMAERROR bits of BMISP register > (value '1' needs to be written to the bit to clear it). > > Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> > Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> [...] Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> MBR, Sergei
diff --git a/drivers/ata/pata_bk3710.c b/drivers/ata/pata_bk3710.c index f22e4bf..6c3bd5f 100644 --- a/drivers/ata/pata_bk3710.c +++ b/drivers/ata/pata_bk3710.c @@ -276,7 +276,7 @@ static void pata_bk3710_chipinit(void __iomem *base) * (ATA_BMISP_INTRSTAT , CLEAR) | * (ATA_BMISP_DMAERROR , CLEAR) */ - iowrite16(0, base + BK3710_BMISP); + iowrite16(0xE, base + BK3710_BMISP); pata_bk3710_setpiomode(base, NULL, 0, 600, 0); pata_bk3710_setpiomode(base, NULL, 1, 600, 0);
Clear IORDYINT, INTRSTAT and DMAERROR bits of BMISP register (value '1' needs to be written to the bit to clear it). Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> --- drivers/ata/pata_bk3710.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)