Re: [PATCH] i2c / ACPI: Pick the first address if device has multiple

2015-01-14 Thread Wolfram Sang
On Mon, Dec 29, 2014 at 03:48:48PM +0200, Mika Westerberg wrote: > ACPI specification allows I2C devices with multiple addresses. The current > implementation goes over all addresses and assigns the last one to the > device. This is typically not the primary address of the device. > > Instead of d

Re: [PATCH] i2c / ACPI: Pick the first address if device has multiple

2015-01-13 Thread Mika Westerberg
On Tue, Jan 13, 2015 at 05:48:29PM +0100, Wolfram Sang wrote: > On Tue, Jan 13, 2015 at 08:44:37AM -0800, Srinivas Pandruvada wrote: > > On Tue, 2015-01-13 at 16:50 +0100, Wolfram Sang wrote: > > > On Mon, Dec 29, 2014 at 03:48:48PM +0200, Mika Westerberg wrote: > > > > ACPI specification allows I

Re: [PATCH] i2c / ACPI: Pick the first address if device has multiple

2015-01-13 Thread Wolfram Sang
On Tue, Jan 13, 2015 at 08:44:37AM -0800, Srinivas Pandruvada wrote: > On Tue, 2015-01-13 at 16:50 +0100, Wolfram Sang wrote: > > On Mon, Dec 29, 2014 at 03:48:48PM +0200, Mika Westerberg wrote: > > > ACPI specification allows I2C devices with multiple addresses. The current > > > implementation g

Re: [PATCH] i2c / ACPI: Pick the first address if device has multiple

2015-01-13 Thread Srinivas Pandruvada
On Tue, 2015-01-13 at 16:50 +0100, Wolfram Sang wrote: > On Mon, Dec 29, 2014 at 03:48:48PM +0200, Mika Westerberg wrote: > > ACPI specification allows I2C devices with multiple addresses. The current > > implementation goes over all addresses and assigns the last one to the > > device. This is ty

Re: [PATCH] i2c / ACPI: Pick the first address if device has multiple

2015-01-13 Thread Wolfram Sang
On Mon, Dec 29, 2014 at 03:48:48PM +0200, Mika Westerberg wrote: > ACPI specification allows I2C devices with multiple addresses. The current > implementation goes over all addresses and assigns the last one to the > device. This is typically not the primary address of the device. > > Instead of d

[PATCH] i2c / ACPI: Pick the first address if device has multiple

2014-12-29 Thread Mika Westerberg
ACPI specification allows I2C devices with multiple addresses. The current implementation goes over all addresses and assigns the last one to the device. This is typically not the primary address of the device. Instead of doing that we assign the first address to the device and then let the driver