diff options
author | Raviteja Narayanam <raviteja.narayanam@xilinx.com> | 2023-02-02 15:11:33 +0530 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-02-03 17:34:08 +0100 |
commit | 317b56c9aa9b0b0f4fae738e27998901b7b3b51c (patch) | |
tree | 179806a9377589e4e9bc2ae3bb737340cb783d31 /block/blk-throttle.c | |
parent | 2fd5cf352efa0c62dd20d1e046bc8767395b1ec0 (diff) | |
download | linux-stable-317b56c9aa9b0b0f4fae738e27998901b7b3b51c.tar.gz linux-stable-317b56c9aa9b0b0f4fae738e27998901b7b3b51c.tar.bz2 linux-stable-317b56c9aa9b0b0f4fae738e27998901b7b3b51c.zip |
i2c: xiic: Add wait for FIFO empty in send_tx
If the tx_half_empty interrupt comes first instead of tx_empty,
STOP bit is generated even before all the bytes are transmitted
out on the bus.
STOP bit should be sent only after all the bytes in the FIFO are
transmitted out of the FIFO. So wait until FIFO is empty before sending
the STOP bit.
Signed-off-by: Raviteja Narayanam <raviteja.narayanam@xilinx.com>
Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions