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: 8264631 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C106A9F4DD for ; Tue, 9 Feb 2016 18:11:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EABAC2021F for ; Tue, 9 Feb 2016 18:11:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E5E7820218 for ; Tue, 9 Feb 2016 18:11:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756817AbcBISLQ (ORCPT ); Tue, 9 Feb 2016 13:11:16 -0500 Received: from mout.gmx.net ([212.227.15.15]:63835 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756691AbcBISLO (ORCPT ); Tue, 9 Feb 2016 13:11:14 -0500 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 Cc: Stephan Olbrich 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= Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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