--- zzzz-none-000/linux-3.10.107/drivers/iio/common/st_sensors/st_sensors_trigger.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/iio/common/st_sensors/st_sensors_trigger.c 2021-02-04 17:41:59.000000000 +0000 @@ -37,8 +37,10 @@ IRQF_TRIGGER_RISING, sdata->trig->name, sdata->trig); - if (err) + if (err) { + dev_err(&indio_dev->dev, "failed to request trigger IRQ.\n"); goto request_irq_error; + } iio_trigger_set_drvdata(sdata->trig, indio_dev); sdata->trig->ops = trigger_ops;