Skip to content
Commit f47449e7 authored by Tahsin Mutlugun's avatar Tahsin Mutlugun Committed by Alberto Escolar
Browse files

drivers: spi: spi_max32: Fix word size support



Driver was not handling SPI word sizes other than 8 bits. Apply DFS
shift wherever necessary to support non 8-bit transfers.

DMA mode cannot support word sizes that are less than 8 bits so return
-ENOTSUP if word size less than 8-bits is required.

Signed-off-by: default avatarTahsin Mutlugun <Tahsin.Mutlugun@analog.com>
parent d0958995
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment