diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-06-27 17:44:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-03 17:04:49 +0300 |
commit | 13f2ec3115c845d7f2cd5525316ef4a3fbe908e3 (patch) | |
tree | 7c40d9ee6441c508508031691aac78aeb9faf0c4 /scripts/generate_rust_analyzer.py | |
parent | a7d2fa776976294d39d4cf36b25ca43be8325c3f (diff) | |
download | linux-13f2ec3115c845d7f2cd5525316ef4a3fbe908e3.tar.xz |
usb: typec: ucsi: simplify command sending API
The sync_write and async_write are used only for writing UCSI commands
to the UCSI_CONTROL offsets. Rename sync_write and async_write
operations to sync_control and async_control accordingly. Drop the
offset and length fields and pass u64 command instead.
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-2-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