diff options
author | Kyle Tso <kyletso@google.com> | 2024-03-19 15:43:09 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-26 14:59:13 +0100 |
commit | 53f5094fdf5deacd99b8655df692e9278506724d (patch) | |
tree | 1678a6ce5df2dda42c7d390e4f12a712b66a6987 /scripts/gdb/linux/utils.py | |
parent | 2a587a035214fa1b5ef598aea0b81848c5b72e5e (diff) |
usb: typec: Return size of buffer if pd_set operation succeeds
The attribute writing should return the number of bytes used from the
buffer on success.
Fixes: a7cff92f0635 ("usb: typec: USB Power Delivery helpers for ports and partners")
Cc: stable@vger.kernel.org
Signed-off-by: Kyle Tso <kyletso@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240319074309.3306579-1-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions