[PATCH 07/10] spi: s3c64xx: Remove the 'set_level' callback from controller data
Jassi Brar
jassisinghbrar at gmail.com
Wed May 9 18:03:54 EST 2012
On Wed, May 9, 2012 at 3:34 AM, Thomas Abraham
<thomas.abraham at linaro.org> wrote:
>
> The set_level callback in the controller data, which is used to configure
> the slave select line, cannot be supported when migrating the driver to
> device tree based discovery. Since all the platforms currently use gpio
> as the slave select line, this callback can be removed from the
> controller data and replaced with call to gpio_set_value in the driver.
>
This patch is ok.
Separately, you might also want to see if we really need the air-tight
protection of spin_lock_irqsave around enable_cs - IIRC someone
had a CS coming out of an gpio extender connected over I2C
More information about the devicetree-discuss
mailing list