Commit 1bc28f01 authored by Venkat Jayaraman's avatar Venkat Jayaraman Committed by Greg Kroah-Hartman
Browse files

usb: typec: ucsi: Add check for UCSI version



"Power Reading" bit is introduced in UCSI v2.1 and so limit the
check for that bit only if version supported is 2.1 or above.

Fixes: c851b71f ("usb: typec: ucsi: Add support for READ_POWER_LEVEL command")
Signed-off-by: default avatarVenkat Jayaraman <venkat.jayaraman@intel.com>
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250905184401.3222530-1-venkat.jayaraman@intel.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 87c5ff56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment