diff options
| author | Jameson Thies <jthies@google.com> | 2026-09-17 03:20:08 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-17 09:50:50 +0100 |
| commit | ea31c6498c61307dc0d8ce338a7f268cb8cbdd57 (patch) | |
| tree | 29d8c4dac9eeff3d5e52bb9a03c1ed55942be510 /tools/lib/python/kdoc | |
| parent | 08b2ccd7eb7e41f77a04a09112ca3edcc588e3f0 (diff) | |
| download | linux-next-ea31c6498c61307dc0d8ce338a7f268cb8cbdd57.tar.gz linux-next-ea31c6498c61307dc0d8ce338a7f268cb8cbdd57.zip | |
usb: typec: ucsi: displayport: Current CAM OOB index fixup
Update ucsi_displayport_enter() to return invalid error when the PPM
reports an current alternate mode greater than or equal to
UCSI_MAX_ALTMODES. While here, remove 0xff current cam assignment on
failed GET_CURRENT_CAM response.
Fixes: 04cec690b1fd ("usb: typec: ucsi: displayport: Fix OOB altmode array index")
Cc: stable <stable@kernel.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Jameson Thies <jthies@google.com>
Link: https://patch.msgid.link/20260917032008.1701888-1-jthies@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
