i2c: qcom-geni: Let firmware specify irq trigger flags
authorStephen Boyd <swboyd@chromium.org>
Tue, 10 Mar 2020 15:43:56 +0000 (08:43 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 13 Mar 2020 14:18:48 +0000 (15:18 +0100)
commitb2ca8800621b95ecced081376de9fe256b1fa479
tree5710930ab9623302eb63db24addfe345ab289114
parentbf22461ed2c278da6f668d2c650ab2bba277814f
i2c: qcom-geni: Let firmware specify irq trigger flags

We don't need to force IRQF_TRIGGER_HIGH here as the DT or ACPI tables
should take care of this for us. Just use 0 instead so that we use the
flags from the firmware. Also, remove specify dev_name() for the irq
name so that we can get better information in /proc/interrupts about
which device is generating interrupts.

Cc: Alok Chauhan <alokc@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qcom-geni.c