From patchwork Fri Sep 10 16:19:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wellsk40@gmail.com X-Patchwork-Id: 170542 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 o8ANJVtn025682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 10 Sep 2010 23:19:52 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OuCsU-0001R1-Ow; Fri, 10 Sep 2010 23:19:30 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OuCsT-0001Qm-8s for spi-devel-general@lists.sourceforge.net; Fri, 10 Sep 2010 23:19:29 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.216.182 as permitted sender) client-ip=209.85.216.182; envelope-from=wellsk40@gmail.com; helo=mail-qy0-f182.google.com; Received: from mail-qy0-f182.google.com ([209.85.216.182]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.69) id 1OuCsP-0000bx-38 for spi-devel-general@lists.sourceforge.net; Fri, 10 Sep 2010 23:19:29 +0000 Received: by qyk4 with SMTP id 4so3617419qyk.13 for ; Fri, 10 Sep 2010 16:19:19 -0700 (PDT) Received: by 10.229.86.69 with SMTP id r5mr1250178qcl.97.1284160759807; Fri, 10 Sep 2010 16:19:19 -0700 (PDT) Received: from localhost6.localdomain6 (66-193-100-242.static.twtelecom.net [66.193.100.242]) by mx.google.com with ESMTPS id r38sm3294922qcs.14.2010.09.10.16.19.17 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Sep 2010 16:19:19 -0700 (PDT) From: wellsk40@gmail.com To: linus.walleij@stericsson.com, spi-devel-general@lists.sourceforge.net Subject: [PATCH 1/5] mfd/ab8500: Setup SPI transfer for 24 bits Date: Fri, 10 Sep 2010 09:19:35 -0700 Message-Id: <1284135579-13578-2-git-send-email-wellsk40@gmail.com> X-Mailer: git-send-email 1.7.2.2 In-Reply-To: <1284135579-13578-1-git-send-email-wellsk40@gmail.com> References: <1284135579-13578-1-git-send-email-wellsk40@gmail.com> X-Spam-Score: 1.7 (+) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.216.182 listed in list.dnswl.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is freemail (wellsk40[at]gmail.com) 1.1 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date -0.0 SPF_PASS SPF: sender matches SPF record 2.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (wellsk40[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL -0.1 AWL AWL: From: address is in the auto white-list X-Headers-End: 1OuCsP-0000bx-38 Cc: rabin.vincent@stericsson.com, linux@arm.linux.org.uk, sameo@linux.intel.com, srinidhi.kasagar@stericsson.com, Lukasz.Baj@tieto.com, linux-kernel@vger.kernel.org, u.kleine-koenig@pengutronix.de, tj@kernel.org, linux-arm-kernel@lists.infradead.org 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: , MIME-Version: 1.0 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]); Fri, 10 Sep 2010 23:19:52 +0000 (UTC) diff --git a/drivers/mfd/ab8500-spi.c b/drivers/mfd/ab8500-spi.c index e1c8b62..01b6d58 100644 --- a/drivers/mfd/ab8500-spi.c +++ b/drivers/mfd/ab8500-spi.c @@ -83,6 +83,11 @@ static int __devinit ab8500_spi_probe(struct spi_device *spi) struct ab8500 *ab8500; int ret; + spi->bits_per_word = 24; + ret = spi_setup(spi); + if (ret < 0) + return ret; + ab8500 = kzalloc(sizeof *ab8500, GFP_KERNEL); if (!ab8500) return -ENOMEM;