diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2025-01-20 11:16:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-03 16:29:05 +0100 |
commit | 667ecac55861281c1f5e107c8550ae893b3984f6 (patch) | |
tree | 9a572758b6bd7afbfc3576a3c727594d96f26b54 /tools/perf/scripts/python/gecko.py | |
parent | 41d5e3806cf589f658f92c75195095df0b66f66a (diff) |
usb: typec: ucsi: return CCI and message from sync_control callback
Some of the drivers emulate or handle some of the commands in the
platform-specific way. The code ends up being split between several
callbacks, which complicates emulation.
In preparation to reworking such drivers, move read_cci() and
read_message_in() calls into ucsi_sync_control_common().
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Ćukasz Bartosik <ukaszb@chromium.org>
Link: https://lore.kernel.org/r/20250120-ucsi-merge-commands-v2-1-462a1ec22ecc@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions