summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorTomas Alvarez Vanoli <[email protected]>2026-03-24 18:02:12 +0100
committerFabio Estevam <[email protected]>2026-04-02 09:07:48 -0300
commit7917c2e356042505c7dea469c358f07b6e424fa2 (patch)
tree1aea56b15166193ed45a7ef1d0a3fe4b9dce1c5a /scripts/checkpatch.pl
parentc42db5019df01db7ba6e0b9ed659b6d57ef5c22a (diff)
spi: fsl_espi: fix din offset
In the case of SPI_XFER_BEGIN | SPI_XFER_END, the function creates a buffer of double the size of the transaction, so that it can write the data in into the second half. It sets the rx_offset to len, and in the while loop we are setting an internal "din" to buffer + rx_offset. However, at the end of each loop, the driver copies "buffer + 2 * cmd_len" back to the data_in pointer. This commit changes the source of the data to buffer + rx_offset. Signed-off-by: Tomas Alvarez Vanoli <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions