Skip to content
Commit eccf541e authored by Fabrice DJIATSA's avatar Fabrice DJIATSA Committed by Daniel DeGrasse
Browse files

drivers: spi: stm32: dynamically update spi word/frame size



Update the source_data and dest_data sizes with the frame size
in bytes before performing the transfer.
With these changes, we can handle cases where the buffers switch
between 8-bit and 16-bit modes.

Signed-off-by: default avatarFabrice DJIATSA <fabrice.djiatsa-ext@st.com>
parent 994efc0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment