Skip to content

Commit d74341b

Browse files
saprojksacilotto
authored andcommitted
mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments
BugLink: https://bugs.launchpad.net/bugs/1910822 commit c13d845 upstream. Arguments 'infolen' and 'datalen' to meson_nfc_dma_buffer_release() were mixed up. Fixes: 8fae856 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller") Cc: stable@vger.kernel.org Signed-off-by: Sergei Antonov <saproj@gmail.com> Acked-by: Liang Yang <liang.yang@amlogic.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20201028094940.11765-1-saproj@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
1 parent 7c3a873 commit d74341b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/nand/raw/meson_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf,
510510
}
511511

512512
static void meson_nfc_dma_buffer_release(struct nand_chip *nand,
513-
int infolen, int datalen,
513+
int datalen, int infolen,
514514
enum dma_data_direction dir)
515515
{
516516
struct meson_nfc *nfc = nand_get_controller_data(nand);

0 commit comments

Comments
 (0)