]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 9 Nov 2020 13:46:57 +0000 (14:46 +0100)
commit92e56236026cfc2e90acb9047f5c6ebf0ceb8ad4
tree9f655e86438f56cbe1b86d8fb2be06ade6904c53
parent40e087a11c0bd6c7278be2fe7589feda5dc28dcb
i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK

BugLink: https://bugs.launchpad.net/bugs/1896828
[ Upstream commit 6eb158ec0a45dbfd98bc6971c461b7d4d5bf61b3 ]

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

Fixes: ceeeb99cd821 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
drivers/i2c/busses/i2c-mxs.c