]> git.hungrycats.org Git - linux/commit
mmc: mxs: fix flags passed to dmaengine_prep_slave_sg
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 18 Oct 2019 09:39:34 +0000 (11:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2019 08:22:30 +0000 (09:22 +0100)
commit1e495b4e410e40945cbcf4ff5db6da0b7d602bbc
tree52c31d24346153ee702c273165dc227c92f3ec2f
parentd366d732edf343f6010366c55cd26e37c4b91f0a
mmc: mxs: fix flags passed to dmaengine_prep_slave_sg

commit 2bb9f7566ba7ab3c2154964461e37b52cdc6b91b upstream.

Since ceeeb99cd821 we no longer abuse the DMA_CTRL_ACK flag for custom
driver use and introduced the MXS_DMA_CTRL_WAIT4END instead. We have not
changed all users to this flag though. This patch fixes it for the
mxs-mmc driver.

Fixes: ceeeb99cd821 ("dmaengine: mxs: rename custom flag")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Fabio Estevam <festevam@gmail.com>
Reported-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Tested-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/mxs-mmc.c