]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: Ack also failed Get Error commands
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 31 May 2024 10:46:52 +0000 (13:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 13:36:12 +0000 (15:36 +0200)
commit8bdf8a42bca4f47646fd105a387ab6926948c7f1
treecaf64db90d6f49497d847ebb669f4cdc74d43557
parentf85d39dd7ed89ffdd622bc1de247ffba8d961504
usb: typec: ucsi: Ack also failed Get Error commands

It is possible that also the GET_ERROR command fails. If
that happens, the command completion still needs to be
acknowledged. Otherwise the interface will be stuck until
it's reset.

Reported-by: Ammy Yi <ammy.yi@intel.com>
Fixes: bdc62f2bae8f ("usb: typec: ucsi: Simplified registration and I/O API")
Cc: stable@vger.kernel.org
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240531104653.1303519-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c