extcon: usbc-tusb320: Set interrupt polarity based on device-tree
authorLukas Funke <Lukas.Funke@weidmueller.com>
Wed, 22 Nov 2023 08:07:48 +0000 (09:07 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 5 Dec 2023 01:09:19 +0000 (10:09 +0900)
commitd03a7005d9688bed5f20ab1b6ec9601455d98ef5
tree397e33a9e5f29bb5acde2b7371c37b389b7bbd88
parente66523c72c9aae0ff0dae6859eb77b04de1e8e5f
extcon: usbc-tusb320: Set interrupt polarity based on device-tree

Remove 'IRQF_TRIGGER_FALLING' request which is not allowed on
every interrupt controller (i.e. arm64 GIC). Replace flag by a
request that depends on the actual device-tree setting.

Link: https://lore.kernel.org/all/02a701da2717$48abf150$da03d3f0$@samsung.com/
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311221355.yxYpTIw3-lkp@intel.com/
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-usbc-tusb320.c