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)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 21 Oct 2019 14:16:38 +0000 (16:16 +0200)
commit2bb9f7566ba7ab3c2154964461e37b52cdc6b91b
tree48628d000683b6071bb86ec4a1412f54abaeafe2
parentc07d0073b9ec80a139d07ebf78e9c30d2a28279e
mmc: mxs: fix flags passed to dmaengine_prep_slave_sg

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>
drivers/mmc/host/mxs-mmc.c