Re: [linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 1/2] i2c: cadence: do not clear bus_hold_flag in mrecv

2019-10-23 Thread Quanyang Wang
/xlnx-soc][PATCH 1/2] i2c: cadence: do not clear bus_hold_flag in mrecv Hi, On 10/14/19 2:07 PM, Michal Simek wrote: On 13. 10. 19 15:33, quanyang.w...@windriver.com wrote: From: Quanyang Wang When using i2c_smbus_read_byte_data to read one byte from a slave device, because of the commit

Re: [linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 1/2] i2c: cadence: do not clear bus_hold_flag in mrecv

2019-10-23 Thread Quanyang Wang
Hi, On 10/14/19 2:07 PM, Michal Simek wrote: On 13. 10. 19 15:33, quanyang.w...@windriver.com wrote: From: Quanyang Wang When using i2c_smbus_read_byte_data to read one byte from a slave device, because of the commit d358def70688 ("i2c: cadence: Fix the hold bit setting"), the transaction

[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 1/2] i2c: cadence: do not clear bus_hold_flag in mrecv

2019-10-13 Thread quanyang.wang
From: Quanyang Wang When using i2c_smbus_read_byte_data to read one byte from a slave device, because of the commit d358def70688 ("i2c: cadence: Fix the hold bit setting"), the transaction becomes: S Addr Wr [A] Comm [A] P S Addr Rd [A] [Data] NA P ^