commit | 1193049c0a1737e7037817235c93eb4961cc402a | [log] [tgz] |
---|---|---|
author | Mike J. Chen <mjchen@google.com> | Mon Oct 16 17:19:36 2023 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Oct 27 10:50:16 2023 +0200 |
tree | a0502c6edff8e41c9f47967c25a5fb4421b3bc7e | |
parent | 7c1884ae9b84176f86cbe7e994bd6261ecacdbb3 [diff] |
drivers: i3c: mcux: tighten the FIFO read At high i3c rates, the mcux_i3c_do_one_xfer_read() could get into an infinite loop where the rx_count kept returning 0 but the complete status bit was never set. I believe the problem was that the function was not emptying the FIFO fast enough, so tighten the loop that processes the FIFO. Signed-off-by: Mike J. Chen <mjchen@google.com>