commit | 364e853ceec92cafe2c0d7fe7cc1d89891903234 | [log] [tgz] |
---|---|---|
author | Daniel Campello <campello@chromium.org> | Mon Aug 03 17:58:03 2020 -0600 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Sep 03 19:40:41 2020 +0100 |
tree | 4833f9319c2770bd7278770e933151670ca1add7 | |
parent | d9f753f3e9edc0b4c0acdbe2708746242f7c7a79 [diff] |
iio: sx9310: Fix irq handling Fixes enable/disable irq handling at various points. The driver needs to only enable/disable irqs if there is an actual irq handler installed. Signed-off-by: Daniel Campello <campello@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>