Skip to content
Commit 391b9282 authored by Tahsin Mutlugun's avatar Tahsin Mutlugun Committed by Fabio Baltieri
Browse files

drivers: i2c: i2c_max32: Respect message flags in DMA mode



Send STOP or RESTART after a message only if they are enabled in message
flags. For reads, however, controller sends a NACK after last byte so a
restart is required even if I2C_MSG_RESTART flag is not set.

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