]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: UCSI2.0 Get Error Status changes
authorPooja Katiyar <pooja.katiyar@intel.com>
Mon, 24 Jun 2024 21:33:59 +0000 (14:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2024 14:10:19 +0000 (16:10 +0200)
commitfe1b01a82f9d2af8e792db539324607676d8f35f
treea60434185fdf6a58885e0b4b1ab9b076237e8487
parentd58a7671078a67c46bee4dd56efca073b25f11bb
usb: typec: ucsi: UCSI2.0 Get Error Status changes

Add support for UCSI 2.0 Get Error Status command to add connector
number field to the command structure.

Connector number field is extracted from the previous UCSI command
which has failed and is used to get the failure reason/Error using
Get Error Status command.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Pooja Katiyar <pooja.katiyar@intel.com>
Link: https://lore.kernel.org/r/20240624213359.1270018-1-pooja.katiyar@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c
drivers/usb/typec/ucsi/ucsi.h