Messages in this thread | | | Date | Thu, 9 Jan 2014 14:06:46 +0000 | From | Mark Brown <> | Subject | Re: [PATCH] spi: Check conflicting CS based on spi->chip_select instead of device name |
| |
On Thu, Jan 09, 2014 at 03:23:55PM +0200, Mika Westerberg wrote:
> In case of a buggy BIOS that lists multiple SPI devices sharing the same > chip select (even though they should use different) the current code fails > to detect that and allows the devices to be added to the bus.
This actually also points out another issue - if we have two instances of a device on different buses they could end up with the same dev_name() if they have the same chip select. Hrm.
I'll apply this but we'll probably need to do something about such conflicts at some point. [unhandled content-type:application/pgp-signature] | |