Messages in this thread | | | Subject | Re: [PATCH V5 7/7] i2c: tegra: remove BUG, BUG_ON | From | Dmitry Osipenko <> | Date | Tue, 11 Jun 2019 14:38:25 +0300 |
| |
11.06.2019 13:51, Bitan Biswas пишет: > Remove redundant BUG_ON calls or replace with WARN_ON_ONCE > as needed. Remove BUG() and make Rx and Tx case handling > similar. Add WARN_ON_ONCE check for non-zero rx_fifo_avail > in tegra_i2c_empty_rx_fifo() and return new error > I2C_ERR_UNEXPECTED_STATUS. > > Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> > ---
Please see my answer to v4.
| |