projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392a56b
)
mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments
author
Sergei Antonov
<saproj@gmail.com>
Wed, 28 Oct 2020 09:49:40 +0000
(12:49 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:23 +0000
(11:54 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/meson_nand.c
b/drivers/mtd/nand/raw/meson_nand.c
index 1fd7f7024c0b42c5d0c23b611eea9faac0467608..817bddccb775f60f4636ee627d20e15a425b7e3f 100644
(file)
--- a/
drivers/mtd/nand/raw/meson_nand.c
+++ b/
drivers/mtd/nand/raw/meson_nand.c
@@
-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,
- int
infolen, int data
len,
+ int
datalen, int info
len,
enum dma_data_direction dir)
{
struct meson_nfc *nfc = nand_get_controller_data(nand);