summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-06-27 17:44:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-03 17:04:50 +0300
commit467399d989d799433ec7dd8da2ebbfbc70207d03 (patch)
tree1e8a952b5e37e063398c154a886ca1214847f21b /scripts/generate_rust_analyzer.py
parent13f2ec3115c845d7f2cd5525316ef4a3fbe908e3 (diff)
downloadlinux-467399d989d799433ec7dd8da2ebbfbc70207d03.tar.xz
usb: typec: ucsi: split read operation
The read operation is only used to read fixed data at fixed offsets (UCSI_VERSION, UCSI_CCI, UCSI_MESSAGE_IN). In some cases drivers apply offset-specific overrides. Split the read() operation into three operations, read_version(), read_cci(), read_message_in(). Tested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240627-ucsi-rework-interface-v4-3-289ddc6874c7@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions