]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Fri, 11 Sep 2020 15:01:39 +0000 (17:01 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 18 Sep 2020 21:11:44 +0000 (23:11 +0200)
commitd6802fbbffabeb9310be1fa05190bc5d78b237c4
treeca5a155174d86d4929db9da4da30ef4b0da9ec31
parentd87ec7dfa58f81e918d1295d69ccdb2a5c84a25a
i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK

The driver-specific usage of the DMA_CTRL_ACK flag was replaced with a
custom flag in commit 26bf76b933d9 ("dmaengine: mxs: rename custom flag"),
but i2c-mxs was not updated to use the new flag, completely breaking I2C
transactions using DMA.

Fixes: 26bf76b933d9 ("dmaengine: mxs: rename custom flag")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mxs.c