From patchwork Wed Oct 13 15:51:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 250871 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9DFpKLn026676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 13 Oct 2010 15:51:43 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1P63bm-00024e-Jd; Wed, 13 Oct 2010 15:51:14 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1P63bl-00024Z-V5 for spi-devel-general@lists.sourceforge.net; Wed, 13 Oct 2010 15:51:13 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of bounce.antispameurope.com designates 83.246.65.51 as permitted sender) client-ip=83.246.65.51; envelope-from=matthias.bgg9ab33xy531gmail.com@bounce.antispameurope.com; helo=relay01-haj2.antispameurope.com; Received: from relay01-haj2.antispameurope.com ([83.246.65.51]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1P63bk-0004TF-RS for spi-devel-general@lists.sourceforge.net; Wed, 13 Oct 2010 15:51:13 +0000 Received: by relay01-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id 45806160085; Wed, 13 Oct 2010 17:51:06 +0200 (CEST) Received: from iis.fhg.de (iis.iis.fhg.de [153.96.172.2]) by relay01-haj2.antispameurope.com (ASE-Secure-MTA) with SMTP id 8432B16006B; Wed, 13 Oct 2010 17:51:03 +0200 (CEST) Received: from smtp02.iis.fraunhofer.de (mailserv02.iis.fraunhofer.de [153.96.171.52]) by iis.fhg.de (8.8.5/) with ESMTP id RAA16366; Wed, 13 Oct 2010 17:51:02 +0200 (MET DST) Received: from [10.12.91.56] (ix1067.iis.fhg.de [10.12.91.56]) by smtp02.iis.fraunhofer.de (Postfix) with ESMTP id D23BD200A083; Wed, 13 Oct 2010 17:51:02 +0200 (CEST) Message-ID: <4CB5D566.2040301@gmail.com> Date: Wed, 13 Oct 2010 17:51:02 +0200 From: Matthias Brugger User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: Jonathan Cameron Subject: [Patch] atmel_spi.c - let transfers through if not changing bits_per_word X-Spam-Score: -0.3 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is freemail (matthias.bgg[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 1.2 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list X-Headers-End: 1P63bk-0004TF-RS Cc: drivers@analog.com, David Brownell , kernel@avr32linux.org, linux-iio@vger.kernel.org, Nicolas Ferre , matthias , spi-devel-general@lists.sourceforge.net X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 13 Oct 2010 15:51:44 +0000 (UTC) diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c index c4e0442..5c03a5b 100644 --- a/drivers/spi/atmel_spi.c +++ b/drivers/spi/atmel_spi.c @@ -654,6 +654,8 @@ static int atmel_spi_transfer(struct spi_device *spi, struct spi_message *msg) struct spi_transfer *xfer; unsigned long flags; struct device *controller = spi->master->dev.parent; + u8 bits; + struct atmel_spi_device *asd; as = spi_master_get_devdata(spi->master);