diff options
author | Dmitry Baryshkov <[email protected]> | 2024-06-27 17:44:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-07-03 16:04:50 +0200 |
commit | 6cbb7fc91085b39f681aa94ab1a9ce566a93f27b (patch) | |
tree | 7fb110be6a353f7b37ce99350793e5b8e0bab4b4 /lib/netdev-notifier-error-inject.c | |
parent | 584e8df58942338602c70686b451b5c3093543a1 (diff) |
usb: typec: ucsi: reorder operations in ucsi_run_command()
Streamline control stream of ucsi_run_command(). Reorder operations so
that there is only one call to ucsi_acknowledge(), making sure that all
complete commands are acknowledged. This also makes sure that the
command is acknowledged even if reading MESSAGE_IN data returns an
error.
Tested-by: Heikki Krogerus <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions