Re: [U-Boot] [PATCH] dm: spi: Correct SPI claim/release_bus() methods

2015-04-23 Thread Jagan Teki
On 23 April 2015 at 02:12, Simon Glass wrote: > Hi Jagan, > > On 19 April 2015 at 23:27, Jagan Teki wrote: >> On 20 April 2015 at 10:11, Peng Fan wrote: >>> Hi, Simon >>> >>> >>> On 4/19/2015 11:05 PM, Simon Glass wrote: These methods should be passed a slave device, not a bus. This ma

Re: [U-Boot] [PATCH] dm: spi: Correct SPI claim/release_bus() methods

2015-04-22 Thread Simon Glass
Hi Jagan, On 19 April 2015 at 23:27, Jagan Teki wrote: > On 20 April 2015 at 10:11, Peng Fan wrote: >> Hi, Simon >> >> >> On 4/19/2015 11:05 PM, Simon Glass wrote: >>> >>> These methods should be passed a slave device, not a bus. This matches the >>> old SPI interface. It is important to know wh

Re: [U-Boot] [PATCH] dm: spi: Correct SPI claim/release_bus() methods

2015-04-19 Thread Jagan Teki
On 20 April 2015 at 10:11, Peng Fan wrote: > Hi, Simon > > > On 4/19/2015 11:05 PM, Simon Glass wrote: >> >> These methods should be passed a slave device, not a bus. This matches the >> old SPI interface. It is important to know which device is claiming the >> bus >> so passing a bus is not that

Re: [U-Boot] [PATCH] dm: spi: Correct SPI claim/release_bus() methods

2015-04-19 Thread Peng Fan
Hi, Simon On 4/19/2015 11:05 PM, Simon Glass wrote: These methods should be passed a slave device, not a bus. This matches the old SPI interface. It is important to know which device is claiming the bus so passing a bus is not that useful. Reported-by: Haikun Wang Signed-off-by: Simon Glass -

[U-Boot] [PATCH] dm: spi: Correct SPI claim/release_bus() methods

2015-04-19 Thread Simon Glass
These methods should be passed a slave device, not a bus. This matches the old SPI interface. It is important to know which device is claiming the bus so passing a bus is not that useful. Reported-by: Haikun Wang Signed-off-by: Simon Glass --- drivers/spi/exynos_spi.c | 6 -- drivers/