commit | b4c119dbc300c7a6ee2da70d5c7ba14747b35142 | [log] [tgz] |
---|---|---|
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | Thu Jan 09 17:07:58 2020 +0530 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Jan 15 21:13:28 2020 +0100 |
tree | d5f596270a709549b52c50814a080ff8e1558b17 | |
parent | 40b2ec1251c370bc5557568e259d4058c651d405 [diff] |
i2c: xiic: Add timeout to the rx fifo wait loop Add timeout to the rx fifo empty wait loop. Also check for the return value for xiic_reinit and pass it to xiic_start_xfer. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>