From: Bryan Wu Subject: Re: [PATCH 02/10] Blackfin SPI driver: use new GPIO API and add error handling Date: Fri, 12 Oct 2007 14:54:37 +0800 Message-ID: <1192172077.6247.15.camel@roc-laptop> References: <1192158304-8277-1-git-send-email-bryan.wu@analog.com> <1192158304-8277-3-git-send-email-bryan.wu@analog.com> <200710112326.34500.david-b@pacbell.net> Reply-To: bryan.wu-OyLXuOCK7orQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Bryan Wu , spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michael Hennerich To: David Brownell Return-path: In-Reply-To: <200710112326.34500.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Thu, 2007-10-11 at 23:26 -0700, David Brownell wrote: > On Thursday 11 October 2007, Bryan Wu wrote: > > @@ -1182,12 +1198,9 @@ static int __init bfin5xx_spi_probe(struct platform_device *pdev) > > return -ENOMEM; > > } > > > > - if (peripheral_request(P_SPI0_SCK, DRV_NAME) || > > - peripheral_request(P_SPI0_MISO, DRV_NAME) || > > - peripheral_request(P_SPI0_MOSI, DRV_NAME) ) { > > - > > + if (setup_pin_mux(1)) { > > dev_err(&pdev->dev, ": Requesting Peripherals failed\n"); > > - goto out_error_queue_alloc; > > + goto out_error; > > } > > > > drv_data = spi_master_get_devdata(master); > > > > Still doesn't apply ... what tree are you generating this series against?? I apply this patch on Linus git tree at 2.6.23 tag git-request-pull output: --- The following changes since commit bbf25010f1a6b761914430f5fca081ec8c7accd1: Linus Torvalds (1): Linux 2.6.23 Bryan Wu (4): Blackfin SPI driver: Initial supporting BF54x in SPI driver Blackfin SPI driver: add error handing Blackfin SPI driver: Blackfin SPI driver does not respect the per-transfer cs_change field Blackfin SPI driver: update spi driver to support multi-ports Michael Hennerich (1): Blackfin SPI driver: use new GPIO API and add error handling Mike Frysinger (1): Blackfin SPI driver: prevent people from setting bits in ctl_reg Sonic Zhang (4): Blackfin SPI driver: Add SPI master controller platform device 1 Blackfin SPI driver: Move GPIO config to setup and cleanup Blackfin SPI driver: Fix SPI driver to work with SPI flash ST25P16 on bf548 Blackfin SPI driver: Clean up useless wait in bfin SPI driver drivers/spi/spi_bfin5xx.c | 586 ++++++++++++++--------- include/asm-blackfin/mach-bf533/portmux.h | 2 +- include/asm-blackfin/mach-bf548/defBF54x_base.h | 17 + 3 files changed, 373 insertions(+), 232 deletions(-) --- Need I send out just one SPI patch. Thanks -Bryan Wu ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/