]> 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 11:51:09 +0000 (12:51 +0100)
commita0dc4a3bdede6ca74778fe4a600a005212c35bda
treeddc5dd03cfbf1b53f0c3e2600a859c24a12567c4
parent3d8b87be73e9df1a2b818be3544a0f7377008994
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