mtd: rawnand: meson: fix scrambling mode value in command macro
authorArseniy Krasnov <avkrasnov@salutedevices.com>
Sat, 10 Feb 2024 21:45:51 +0000 (00:45 +0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 26 Feb 2024 10:36:14 +0000 (11:36 +0100)
commitef6f463599e16924cdd02ce5056ab52879dc008c
tree027a3e4cf5301bac540c94197db5fa1e2c690e51
parent9367043f1c02a1e4bc3ee50df2772c7c557ce617
mtd: rawnand: meson: fix scrambling mode value in command macro

Scrambling mode is enabled by value (1 << 19). NFC_CMD_SCRAMBLER_ENABLE
is already (1 << 19), so there is no need to shift it again in CMDRWGEN
macro.

Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Cc: <Stable@vger.kernel.org>
Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240210214551.441610-1-avkrasnov@salutedevices.com
drivers/mtd/nand/raw/meson_nand.c