From patchwork Wed Nov 24 12:18:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: aw-davinci-linux@mw-itcon.de X-Patchwork-Id: 352781 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAOCK8e1005718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 24 Nov 2010 12:20:32 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id oAOCI1tg005459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Nov 2010 06:18:01 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id oAOCI03j015412; Wed, 24 Nov 2010 06:18:00 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 0E03380627; Wed, 24 Nov 2010 06:18:00 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id DDD8C80626 for ; Wed, 24 Nov 2010 06:17:58 -0600 (CST) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id oAOCHwad017830 for ; Wed, 24 Nov 2010 06:17:58 -0600 (CST) Received: from psmtp.com (na3sys009amx220.postini.com [74.125.149.60]) by white.ext.ti.com (8.13.7/8.13.7) with SMTP id oAOCHuab022351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 24 Nov 2010 06:17:57 -0600 Received: from source ([217.91.56.216]) (using TLSv1) by na3sys009amx220.postini.com ([74.125.148.10]) with SMTP; Wed, 24 Nov 2010 04:17:57 PST Received: (qmail 19191 invoked by uid 115); 24 Nov 2010 13:17:55 +0100 Received: from 192.168.192.179 (andreas.wolff@mw-itcon.de@192.168.192.179) by dmzsrv (envelope-from , uid 64011) with qmail-scanner-2.02st (spamassassin: 3.2.5. perlscan: 2.02st. Clear:RC:1(192.168.192.179):. Processed in 0.032966 secs); 24 Nov 2010 12:17:55 -0000 Received: from unknown (HELO ?192.168.192.179?) (andreas.wolff@mw-itcon.de@192.168.192.179) by 192.168.191.2 with SMTP; 24 Nov 2010 13:17:55 +0100 Message-ID: <4CED027F.8030606@mw-itcon.de> Date: Wed, 24 Nov 2010 13:18:07 +0100 From: aw-davinci-linux@mw-itcon.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: davinci-linux-open-source@linux.davincidsp.com Subject: Re: [PATCH 00/49] spi: davinci: re-write existing driver References: <1289990661-30126-1-git-send-email-nsekhar@ti.com> In-Reply-To: <1289990661-30126-1-git-send-email-nsekhar@ti.com> X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:44.23347/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.5000) s cv gt3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 24 Nov 2010 12:20:33 +0000 (UTC) --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -805,6 +805,8 @@ static int davinci_spi_probe(struct platform_device *pdev) ret = -ENOMEM; goto err; } + /* the spi->mode bits understood by this driver: */ + master->mode_bits = SPI_LSB_FIRST | SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_NO_CS | SPI_READY | SPI_LOOP;