Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

2016-12-17 Thread Wolfram Sang
On Wed, Dec 14, 2016 at 04:23:58PM +0700, Tin Huynh wrote: > ACPI always sets Tx/Rx FIFO to 32. This configuration will > cause problem if the IP core supports a FIFO size of less than 32. > The driver should read the FIFO size from the IP and select the smaller > one of the two. > > Signed-off-by

Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

2016-12-15 Thread Andy Shevchenko
On Wed, 2016-12-14 at 16:23 +0700, Tin Huynh wrote: > ACPI always sets Tx/Rx FIFO to 32. This configuration will > cause problem if the IP core supports a FIFO size of less than 32. > The driver should read the FIFO size from the IP and select the > smaller > one of the two. > > Signed-off-by: Tin

Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

2016-12-14 Thread Mika Westerberg
On Wed, Dec 14, 2016 at 04:23:58PM +0700, Tin Huynh wrote: > ACPI always sets Tx/Rx FIFO to 32. This configuration will > cause problem if the IP core supports a FIFO size of less than 32. > The driver should read the FIFO size from the IP and select the smaller > one of the two. > > Signed-off-by

Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

2016-12-14 Thread Jarkko Nikula
On 12/14/2016 11:23 AM, Tin Huynh wrote: ACPI always sets Tx/Rx FIFO to 32. This configuration will cause problem if the IP core supports a FIFO size of less than 32. The driver should read the FIFO size from the IP and select the smaller one of the two. Signed-off-by: Tin Huynh --- drivers/i

[PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI

2016-12-14 Thread Tin Huynh
ACPI always sets Tx/Rx FIFO to 32. This configuration will cause problem if the IP core supports a FIFO size of less than 32. The driver should read the FIFO size from the IP and select the smaller one of the two. Signed-off-by: Tin Huynh --- drivers/i2c/busses/i2c-designware-platdrv.c | 31 +