Re: [PATCH 1/9] Blackfin SPI driver: use new GPIO API and add error handling
From: David Brownell
Date: Thu Oct 11 2007 - 17:46:50 EST
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);
This doesn't apply against 2.6.23 ... ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/