Skip to content
Commit 94b74dbd authored by Tahsin Mutlugun's avatar Tahsin Mutlugun Committed by Daniel DeGrasse
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>
(cherry picked from commit f47449e7)
parent 4c362f1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment