On Tue, Jan 28, 2014 at 02:35:06PM +0200, Baruch Siach wrote:

> So how about doing devm_gpio_request_one() in probe() right after 
> devm_spi_register_master()? This should be compatible with deferral, and yet 
> avoid open coding the "cs-gpios" property parsing as the pl022 driver does.

It needs to before otherwise we'll try to instantiate the slaves without
their chip select which isn't going to be a great idea.  The ideal thing
would be for this to be handled in the core rather than in the
individual drivers, the property is standard.

Attachment: signature.asc
Description: Digital signature

Reply via email to