Re: [PATCH V2] i2c: designware: fix wrong tx/rx fifo for ACPI

2016-12-07 Thread Andy Shevchenko
On Tue, 2016-12-06 at 14:57 +0700, Tin Huynh wrote: > ACPI always sets txfifo and rxfifo 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-b

[PATCH V2] i2c: designware: fix wrong tx/rx fifo for ACPI

2016-12-05 Thread Tin Huynh
ACPI always sets txfifo and rxfifo 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