]> git.baikalelectronics.ru Git - kernel.git/commit
iio: sx9310: Use irq trigger flags from firmware
authorStephen Boyd <swboyd@chromium.org>
Mon, 3 Aug 2020 23:58:15 +0000 (17:58 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Sep 2020 18:40:44 +0000 (19:40 +0100)
commit40c4ab357893709d82ae6a3987c38a269aeec7d5
tree456beb3526e577a2240623973db1a0547a52715b
parent63a1bb50d8e5801ba8904511eda358a479258673
iio: sx9310: Use irq trigger flags from firmware

We shouldn't need to set default irq trigger flags here as the firmware
should have properly indicated the trigger type, i.e. level low, in the
DT or ACPI tables.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Daniel Campello <campello@chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/sx9310.c