From patchwork Tue Feb 9 18:10:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Olbrich X-Patchwork-Id: 8264671 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DD14FBEEE5 for ; Tue, 9 Feb 2016 18:12:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 218532021F for ; Tue, 9 Feb 2016 18:12:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 545CF20218 for ; Tue, 9 Feb 2016 18:12:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTCku-0003A1-Hm; Tue, 09 Feb 2016 18:11:16 +0000 Received: from mout.gmx.net ([212.227.15.15]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTCkn-0002ss-1D; Tue, 09 Feb 2016 18:11:11 +0000 Received: from chaos-desktop.fritz.box ([92.217.39.22]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LZiLk-1ZkCp93fPI-00lV10; Tue, 09 Feb 2016 19:10:40 +0100 From: stephanolbrich@gmx.de To: Mark Brown , Stephen Warren , Lee Jones , Eric Anholt , linux-spi@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/4] spi: bcm2835aux: fix bitmask defines Date: Tue, 9 Feb 2016 19:10:32 +0100 Message-Id: <1455041435-8015-2-git-send-email-stephanolbrich@gmx.de> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455041435-8015-1-git-send-email-stephanolbrich@gmx.de> References: <1455041435-8015-1-git-send-email-stephanolbrich@gmx.de> X-Provags-ID: V03:K0:ueYBRFMd5DfmfCv5blvRvss0HTjCbseYSBNbyR9BFn5AVmZr71S aoB8XEiPHLL7LXrbz+bvTTn4B2jEtjw3w0yXkJULXjxfngZRuaLQUYRwLceXviOfytuFAkq LKnJoHNyd0ZBK2ti9pQpv5Qi6AJ3XNl2IE7TEqfCoN1mYXb6RXuEJlTpBA3ZNl0Ug9shPvx E4Xrgq9zFpTf+HDrVOz1A== X-UI-Out-Filterresults: notjunk:1; V01:K0:sj0mmJmAH6o=:Jto10zKeiIWwmqiXbk9vVW waYpQmtIefHhEvPceg1lOPqHgIpA6kUsZmOu/578G8/1QDAN0qXRFdggt4NJW6xWHw/Upezew h9oeTo0LkT7LW1oxGZeObC/TyTKiPV2QHxklRtF/sycD6uEg0NJMGdn6EhSlYqrr7JQrwORPU bg/SFDbfGahosmVRDOjHLO3+176+JMdguoe7zBLLVjjEmh6RtvbAPiwKGKuN/KkPL9/u8xxCE TpHXXTw5q75A/OwZDocdSvqBV+FYB6qF+qCEEBdpjhS+MaIeV9kA5MGq3w/zHwloGHlV9zCaW pFUAntu9cK8TsV/3XAhYrQNWni5BMSr5DyzSc/MZohhglEvx6CV+QwFcn6HUZByZ4W5ZuKYYs mdg/BVxs707Am0J1tgT+kfiYKKZJYInmuCvzD2EdKk1s/FtFIUdZKOkTTxkmL8EOdSNTMwXS7 e7zly1UWeL8ehQm8ztFW7jOuYr8X2RS5EFYeVPn8e2xwipzQQIeehKLKVI0TmRmXxdA9iV66P +pJBzdYzX2+fL2lNYJdmKKUEcnYdFouEJW7ihpfgbISP3N2GEwQ7j0WlXYS7JCwZIs6tVq1ts rZb11tfSH1wRhQDoThTzBdzfvXLDoQNzTb9zqqRy7cl/Tr6lOLafwP4DfopQy5sXBze9CvIC8 UxC7MuMtpoKkWlDaJvAQjqOPaqjLH0QPV8VmKGiZJs4KsALEcwqZaOC72bh0AhtwyYjbCd+xx t7JbOprNffEZNg1ahEb4vXeIPRFs0I0zEPpPf1wl3WiXfLDuExlsZE7lo6M= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160209_101109_646861_439FF856 X-CRM114-Status: UNSURE ( 7.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephan Olbrich MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Stephan Olbrich The bitmasks for txempty and idle interrupts were interchanged. Signed-off-by: Stephan Olbrich Reviewed-by: Eric Anholt --- drivers/spi/spi-bcm2835aux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-bcm2835aux.c b/drivers/spi/spi-bcm2835aux.c index 7de6f84..ecc73c0 100644 --- a/drivers/spi/spi-bcm2835aux.c +++ b/drivers/spi/spi-bcm2835aux.c @@ -73,8 +73,8 @@ /* Bitfields in CNTL1 */ #define BCM2835_AUX_SPI_CNTL1_CSHIGH 0x00000700 -#define BCM2835_AUX_SPI_CNTL1_IDLE 0x00000080 -#define BCM2835_AUX_SPI_CNTL1_TXEMPTY 0x00000040 +#define BCM2835_AUX_SPI_CNTL1_TXEMPTY 0x00000080 +#define BCM2835_AUX_SPI_CNTL1_IDLE 0x00000040 #define BCM2835_AUX_SPI_CNTL1_MSBF_IN 0x00000002 #define BCM2835_AUX_SPI_CNTL1_KEEP_IN 0x00000001