mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments
authorSergei Antonov <saproj@gmail.com>
Wed, 28 Oct 2020 09:49:40 +0000 (12:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:23 +0000 (11:54 +0100)
commit3e7312ba3e314adc4c76b6cdf6239b9c8cb68d0d
tree96f744319f0653b433e1e5c8dd3d9e3d832d2f55
parent392a56b9f2c52d21d8fca76f28fb6f2a0fb86604
mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments

commit c13d845e9a69580424d40b7b101c37d4f71bcd63 upstream.

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

Fixes: 8fae856c53500 ("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>
drivers/mtd/nand/raw/meson_nand.c