On Sun, 15 Nov 2020 23:50:51 +0100 Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > On Sun, Nov 15, 2020 at 3:38 PM Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote: > > > Return a boolean value in st_sensors_new_samples_available routine in > > order to avoid an infinite loop in st_sensors_irq_thread if > > stat_drdy.addr is not defined or stat_drdy read fails > > > > Fixes: 90efe05562921 ("iio: st_sensors: harden interrupt handling") > > Reported-by: Jonathan Cameron <jic23@xxxxxxxxxx> > > Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> > > This looks more clear if nothing else. > Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Denis, This is in the 'obviously' correct category but I've been wrong before so would ideally like you to you sanity check this one and Ack. thanks, Jonathan > > Yours, > Linus Walleij