diff options
author | Sven Peter <[email protected]> | 2022-11-02 17:15:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-08 16:51:21 +0100 |
commit | 6d8fc203b28ff8f6115fbe5eaf584de8b824f4fa (patch) | |
tree | aded92f81747a3190d9dc5a52097806ba75ac95b /drivers/usb/cdns3/cdns3-trace.c | |
parent | 40bf8f162d0f95e0716e479d7db41443d931765c (diff) |
usb: typec: tipd: Prevent uninitialized event{1,2} in IRQ handler
If reading TPS_REG_INT_EVENT1/2 fails in the interrupt handler event1
and event2 may be uninitialized when they are used to determine
IRQ_HANDLED vs. IRQ_NONE in the error path.
Fixes: c7260e29dd20 ("usb: typec: tipd: Add short-circuit for no irqs")
Fixes: 45188f27b3d0 ("usb: typec: tipd: Add support for Apple CD321X")
Cc: stable <[email protected]>
Signed-off-by: Sven Peter <[email protected]>
Reviewed-by: Eric Curtin <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Guido Günther <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions