Re: [PATCH 1/3] spi/xilinx: Use automatic bus number on device tree

2015-01-21 Thread Ricardo Ribalda Delgado
Hi Lars I think you are right. The other patches on the set are still valid though Thanks! On Wed, Jan 21, 2015 at 5:02 PM, Lars-Peter Clausen wrote: > On 01/21/2015 04:53 PM, Ricardo Ribalda Delgado wrote: >> >> If there is more than one spi device on a device tree, the second one >> will

Re: [PATCH 1/3] spi/xilinx: Use automatic bus number on device tree

2015-01-21 Thread Lars-Peter Clausen
On 01/21/2015 04:53 PM, Ricardo Ribalda Delgado wrote: If there is more than one spi device on a device tree, the second one will fail to probe due to a duplicated bus_num. > [...] This should already be fixed. See commit 4b153a2137c5 ("spi: xilinx: Use pdev->id instead of pdev->dev.id for

[PATCH 1/3] spi/xilinx: Use automatic bus number on device tree

2015-01-21 Thread Ricardo Ribalda Delgado
If there is more than one spi device on a device tree, the second one will fail to probe due to a duplicated bus_num. This patch uses automatic bus number if the device is deined on a device tree. Signed-off-by: Ricardo Ribalda Delgado --- drivers/spi/spi-xilinx.c | 5 - 1 file changed, 4

Re: [PATCH 1/3] spi/xilinx: Use automatic bus number on device tree

2015-01-21 Thread Ricardo Ribalda Delgado
Hi Lars I think you are right. The other patches on the set are still valid though Thanks! On Wed, Jan 21, 2015 at 5:02 PM, Lars-Peter Clausen l...@metafoo.de wrote: On 01/21/2015 04:53 PM, Ricardo Ribalda Delgado wrote: If there is more than one spi device on a device tree, the second one

[PATCH 1/3] spi/xilinx: Use automatic bus number on device tree

2015-01-21 Thread Ricardo Ribalda Delgado
If there is more than one spi device on a device tree, the second one will fail to probe due to a duplicated bus_num. This patch uses automatic bus number if the device is deined on a device tree. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/spi/spi-xilinx.c | 5

Re: [PATCH 1/3] spi/xilinx: Use automatic bus number on device tree

2015-01-21 Thread Lars-Peter Clausen
On 01/21/2015 04:53 PM, Ricardo Ribalda Delgado wrote: If there is more than one spi device on a device tree, the second one will fail to probe due to a duplicated bus_num. [...] This should already be fixed. See commit 4b153a2137c5 (spi: xilinx: Use pdev-id instead of pdev-dev.id for the