usb: typec: tcpci: Request IRQ with IRQF_SHARED
authorXu Yang <xu.yang_2@nxp.com>
Wed, 14 Dec 2022 02:23:34 +0000 (10:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 16:21:31 +0000 (17:21 +0100)
commitccb0beb43a57ee8dbc35a3314c4bf1db922c054f
tree909c4cc45bc522181d3fb82afbeff911cec5ca3f
parent2c03f7f1ad81da297e569d68d8b1219bbafcdfd1
usb: typec: tcpci: Request IRQ with IRQF_SHARED

Under resource constraints, this interrupt may use other interrupt line
or this interrupt line may be shared with other devices as long as they
meet the sharing requirements. Besides, This irq flag will not cause other
side effect if tcpci driver is the only user.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20221214022334.2520677-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci.c