diff options
author | Heikki Krogerus <[email protected]> | 2024-08-09 18:03:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-08-13 10:26:45 +0200 |
commit | d209d1634e6562eafc369b28f8a1f67a2e9e5222 (patch) | |
tree | 8f0fe28477d385d0f2e53208702242d0b608eddb /scripts/rustdoc_test_builder.rs | |
parent | 741b41b48faf41c0bcf3c26fbb3448b0fda4fc5d (diff) |
usb: typec: ucsi: Fix the return value of ucsi_run_command()
The command execution routines need to return the amount of
data that was transferred when succesful.
This fixes an issue where the alternate modes and the power
delivery capabilities are not getting registered.
Fixes: 5e9c1662a89b ("usb: typec: ucsi: rework command execution functions")
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 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions