]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 19 Feb 2025 11:47:00 +0000 (12:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 12:02:12 +0000 (13:02 +0100)
commit2b2bd58e9517f95a6bf54ef43dc1e751c9ec0feb
tree20a903f1de44e562cc276f2b8cd0e956578f0209
parentb38731252729932fd8d9f26d0a9d88ef2b871495
usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality

commit d6b82dafd17db0658f089b9cdec573982ca82bc5 upstream.

During probe, the TCPC alert interrupts are getting masked to
avoid unwanted interrupts during chip setup: this is ok to do
but there is no unmasking happening at any later time, which
means that the chip will not raise any interrupt, essentially
making it not functional as, while internally it does perform
all of the intended functions, it won't signal anything to the
outside.

Unmask the alert interrupts to fix functionality.

Fixes: ce08eaeb6388 ("staging: typec: rt1711h typec chip driver")
Cc: stable <stable@kernel.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250219114700.41700-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci_rt1711h.c