Re: [PATCH] spi: Check conflicting CS based on spi->chip_selectinstead of device name

From: Mark Brown
Date: Thu Jan 09 2014 - 09:37:00 EST


On Thu, Jan 09, 2014 at 04:27:29PM +0200, Mika Westerberg wrote:
> On Thu, Jan 09, 2014 at 02:06:46PM +0000, Mark Brown wrote:

> > 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 don't think that can happen, at least in case of ACPI, since each ACPI
> device has unique name, such as 'INT33C0:00' - the ':00' suffix is the
> "instance" number ACPI core gives for devices.

That's OK then.

Attachment: signature.asc
Description: Digital signature