Loading
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>