Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-30 Thread Michal Suchanek
On 19 July 2016 at 12:52, Mark Brown wrote: > On Tue, Jul 19, 2016 at 10:31:54AM +0200, Michal Suchanek wrote: >> On 19 July 2016 at 01:02, Mark Brown wrote: >> > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: > >> >> SPI slave devices

Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-30 Thread Michal Suchanek
On 19 July 2016 at 12:52, Mark Brown wrote: > On Tue, Jul 19, 2016 at 10:31:54AM +0200, Michal Suchanek wrote: >> On 19 July 2016 at 01:02, Mark Brown wrote: >> > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: > >> >> SPI slave devices are not created when looking up driver for

Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-19 Thread Mark Brown
On Tue, Jul 19, 2016 at 10:31:54AM +0200, Michal Suchanek wrote: > On 19 July 2016 at 01:02, Mark Brown wrote: > > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: > >> SPI slave devices are not created when looking up driver for the slave > >> fails. Create a

Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-19 Thread Mark Brown
On Tue, Jul 19, 2016 at 10:31:54AM +0200, Michal Suchanek wrote: > On 19 July 2016 at 01:02, Mark Brown wrote: > > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: > >> SPI slave devices are not created when looking up driver for the slave > >> fails. Create a device anyway so it

Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-19 Thread Michal Suchanek
Hello, On 19 July 2016 at 01:02, Mark Brown wrote: > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: >> SPI slave devices are not created when looking up driver for the slave >> fails. Create a device anyway so it can be used with spidev. > >> rc =

Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-19 Thread Michal Suchanek
Hello, On 19 July 2016 at 01:02, Mark Brown wrote: > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: >> SPI slave devices are not created when looking up driver for the slave >> fails. Create a device anyway so it can be used with spidev. > >> rc = of_modalias_node(nc,

Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-18 Thread Mark Brown
On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: > SPI slave devices are not created when looking up driver for the slave > fails. Create a device anyway so it can be used with spidev. > rc = of_modalias_node(nc, spi->modalias, >

Re: [PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-18 Thread Mark Brown
On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote: > SPI slave devices are not created when looking up driver for the slave > fails. Create a device anyway so it can be used with spidev. > rc = of_modalias_node(nc, spi->modalias, >

[PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-18 Thread Michal Suchanek
SPI slave devices are not created when looking up driver for the slave fails. Create a device anyway so it can be used with spidev. Signed-off-by: Michal Suchanek --- drivers/spi/spi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/spi.c

[PATCH v3 2/3] spi: of: allow instantiating slaves without a driver

2016-07-18 Thread Michal Suchanek
SPI slave devices are not created when looking up driver for the slave fails. Create a device anyway so it can be used with spidev. Signed-off-by: Michal Suchanek --- drivers/spi/spi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c