]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: typec: ucsi: Ack unsupported commands
authorChristian A. Ehrhardt <lk@c--e.de>
Wed, 20 Mar 2024 07:39:24 +0000 (08:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:33 +0000 (16:19 +0200)
commitad165b37fd4fd996ff5dc36b13f1b68f195da143
tree4733c4df59bebc3bcde4bf31b4542c4c96241d8f
parentdf5cbb908f1687e8ab97e222a16b7890d5501acf
usb: typec: ucsi: Ack unsupported commands

commit 6b5c85ddeea77d18c4b69e3bda60e9374a20c304 upstream.

If a command completes the OPM must send an ack. This applies
to unsupported commands, too.

Send the required ACK for unsupported commands.

Signed-off-by: Christian A. Ehrhardt <lk@c--e.de>
Cc: stable <stable@kernel.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Link: https://lore.kernel.org/r/20240320073927.1641788-4-lk@c--e.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c