Revert "i3c: add actual_len in i3c_priv_xfer"

This reverts commit fe52ab31f0 which is
commit e5e3df06ac upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I9a052055bf7816669048653ccf4b637403b5a1a7
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2024-06-14 10:46:16 +00:00
parent e967b73af2
commit 09d9eceb98

View File

@ -54,7 +54,6 @@ enum i3c_hdr_mode {
* struct i3c_priv_xfer - I3C SDR private transfer * struct i3c_priv_xfer - I3C SDR private transfer
* @rnw: encodes the transfer direction. true for a read, false for a write * @rnw: encodes the transfer direction. true for a read, false for a write
* @len: transfer length in bytes of the transfer * @len: transfer length in bytes of the transfer
* @actual_len: actual length in bytes are transferred by the controller
* @data: input/output buffer * @data: input/output buffer
* @data.in: input buffer. Must point to a DMA-able buffer * @data.in: input buffer. Must point to a DMA-able buffer
* @data.out: output buffer. Must point to a DMA-able buffer * @data.out: output buffer. Must point to a DMA-able buffer
@ -63,7 +62,6 @@ enum i3c_hdr_mode {
struct i3c_priv_xfer { struct i3c_priv_xfer {
u8 rnw; u8 rnw;
u16 len; u16 len;
u16 actual_len;
union { union {
void *in; void *in;
const void *out; const void *out;