On 6/10/19 3:30 AM, Dmitry Osipenko wrote:
10.06.2019 8:08, Bitan Biswas пишет:
Remove redundant BUG_ON calls or replace with WARN_ON_ONCE
as needed. Replace BUG() with error handling code.
Define I2C_ERR_UNEXPECTED_STATUS for error handling.
Signed-off-by: Bitan Biswas
---
drivers/i2c/bu
10.06.2019 8:08, Bitan Biswas пишет:
> Remove redundant BUG_ON calls or replace with WARN_ON_ONCE
> as needed. Replace BUG() with error handling code.
> Define I2C_ERR_UNEXPECTED_STATUS for error handling.
>
> Signed-off-by: Bitan Biswas
> ---
> drivers/i2c/busses/i2c-tegra.c | 18 +++---
Remove redundant BUG_ON calls or replace with WARN_ON_ONCE
as needed. Replace BUG() with error handling code.
Define I2C_ERR_UNEXPECTED_STATUS for error handling.
Signed-off-by: Bitan Biswas
---
drivers/i2c/busses/i2c-tegra.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions
3 matches
Mail list logo