i3c: dw: make struct dw_i3c_cmd smaller

The dw_i3c_cmd is dynamically allocated, make it smaller. For example
on 64bit platforms, we reduce the size from 48 bytes to 32 bytes.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260813044603.22425-1-jszhang@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
Jisheng Zhang 2026-08-13 12:46:03 +08:00 committed by Alexandre Belloni
parent 942e9a5b67
commit 9939e4cf59

View File

@ -248,10 +248,10 @@ struct dw_i3c_cmd {
u32 cmd_lo;
u32 cmd_hi;
u16 tx_len;
const void *tx_buf;
u16 rx_len;
void *rx_buf;
u8 error;
const void *tx_buf;
void *rx_buf;
};
struct dw_i3c_xfer {