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>
Tue, 26 Mar 2024 14:00:44 +0000 (15:00 +0100)
commit6b5c85ddeea77d18c4b69e3bda60e9374a20c304
treee5e5caa02b0e525244d2ad79eb49619c7da54d11
parent808a8b9e0b87bbc72bcc1f7ddfe5d04746e7ce56
usb: typec: ucsi: Ack unsupported commands

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