Commit c13d845e authored by Sergei Antonov's avatar Sergei Antonov Committed by Miquel Raynal

mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments

Arguments 'infolen' and 'datalen' to meson_nfc_dma_buffer_release() were mixed up.

Fixes: 8fae856c ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSergei Antonov <saproj@gmail.com>
Acked-by: default avatarLiang Yang <liang.yang@amlogic.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201028094940.11765-1-saproj@gmail.com
parent 7998d898
...@@ -510,7 +510,7 @@ static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, ...@@ -510,7 +510,7 @@ static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf,
} }
static void meson_nfc_dma_buffer_release(struct nand_chip *nand, static void meson_nfc_dma_buffer_release(struct nand_chip *nand,
int infolen, int datalen, int datalen, int infolen,
enum dma_data_direction dir) enum dma_data_direction dir)
{ {
struct meson_nfc *nfc = nand_get_controller_data(nand); struct meson_nfc *nfc = nand_get_controller_data(nand);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment