diff options
| author | Heikki Krogerus <[email protected]> | 2024-09-03 13:09:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-09-03 17:26:18 +0000 |
| commit | 87eb3cb4ec619299cd5572e1d5eb68aef4074ac2 (patch) | |
| tree | e039aae032423dd411156e352ddcb3d2a53d25ed /rust/helpers/task.c | |
| parent | usb: typec: ucsi: Fix the partner PD revision (diff) | |
| download | kernel-87eb3cb4ec619299cd5572e1d5eb68aef4074ac2.tar.gz kernel-87eb3cb4ec619299cd5572e1d5eb68aef4074ac2.zip | |
usb: typec: ucsi: Fix cable registration
The Cable PD Revision field in GET_CABLE_PROPERTY was
introduced in UCSI v2.1, so adding check for that.
The cable properties are also not used anywhere after the
cable is registered, so removing the cable_prop member
from struct ucsi_connector while at it.
Fixes: 38ca416597b0 ("usb: typec: ucsi: Register cables based on GET_CABLE_PROPERTY")
Cc: [email protected]
Signed-off-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
