Skip to content
Commit 30037778 authored by Daniel Gaston Ochoa's avatar Daniel Gaston Ochoa Committed by Carles Cufí
Browse files

drivers: stm32: SPI: cannot send several buffers if frame size is 16 bits



spi_context_get_next_buf must not divide `len` by `dfs` because, in SPI,
buffer lengths are given in units of data (in this case, 16 bits), not in
bytes.

Signed-off-by: default avatarDaniel Gaston Ochoa <dgastonochoa@gmail.com>
parent f12ffaea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment