OSDN Git Service

ucsi_ccg: Do not hardcode interrupt polarity and type
authorSanket Goswami <Sanket.Goswami@amd.com>
Thu, 26 May 2022 06:33:04 +0000 (12:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 09:54:08 +0000 (11:54 +0200)
commit5767f40053ebf599e47d688e65b259d0b6f3227a
tree9b7d4ef7f6ed9ba3081332ceca1f2ed94a6a7b54
parent13118959cb1a67eb80bf06152e35e0df733615e2
ucsi_ccg: Do not hardcode interrupt polarity and type

The current implementation supports only Level trigger with ACTIVE HIGH,
which is overriding level and polarity set by the ACPI table, hence
implement the common utility function to manage irq requests.

Suggested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Link: https://lore.kernel.org/r/20220526063305.3144352-2-Sanket.Goswami@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_ccg.c