Commit 9b11c33a authored by Guido Gunther's avatar Guido Gunther 💤
Browse files

nwl-dsi: Save correct tx_len

Length is shortened in the above loop but we want the total amount of
bytes to transfer since this is reported back later on to the caller of
mipi_dsi_host's (*transfer)() via xfer.status.

Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent 6bcf33fc
......@@ -782,7 +782,7 @@ static void nwl_dsi_begin_transmission(struct nwl_mipi_dsi *dsi)
nwl_dsi_write(dsi, TX_PAYLOAD, val);
xfer->tx_len = length;
xfer->tx_len = pkt->payload_length;
* Now, send the header
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment