Re: [PATCH] iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler

2021-03-06 Thread Jonathan Cameron
On Tue, 2 Mar 2021 16:45:10 +0100 Linus Walleij wrote: > On Mon, Mar 1, 2021 at 9:04 AM Dinghao Liu wrote: > > > There is one regmap_bulk_read() call in mpu3050_trigger_handler > > that we have caught its return value bug lack further handling. > > Check and terminate the execution flow just li

Re: [PATCH] iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler

2021-03-02 Thread Linus Walleij
On Mon, Mar 1, 2021 at 9:04 AM Dinghao Liu wrote: > There is one regmap_bulk_read() call in mpu3050_trigger_handler > that we have caught its return value bug lack further handling. > Check and terminate the execution flow just like the other three > regmap_bulk_read() calls in this function. > >

[PATCH] iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler

2021-03-01 Thread Dinghao Liu
There is one regmap_bulk_read() call in mpu3050_trigger_handler that we have caught its return value bug lack further handling. Check and terminate the execution flow just like the other three regmap_bulk_read() calls in this function. Signed-off-by: Dinghao Liu --- drivers/iio/gyro/mpu3050-core