aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2024-06-27 17:44:42 +0300
committerGreg Kroah-Hartman <[email protected]>2024-07-03 16:04:50 +0200
commit467399d989d799433ec7dd8da2ebbfbc70207d03 (patch)
tree1e8a952b5e37e063398c154a886ca1214847f21b /lib/memory-notifier-error-inject.c
parent13f2ec3115c845d7f2cd5525316ef4a3fbe908e3 (diff)
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 <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions