mtd: rawnand: meson: fix scrambling mode value in command macro
[linux-2.6-microblaze.git] / drivers / mtd / nand / raw / meson_nand.c
index cdb58ac..2a96a87 100644 (file)
@@ -63,7 +63,7 @@
 #define CMDRWGEN(cmd_dir, ran, bch, short_mode, page_size, pages)      \
        (                                                               \
                (cmd_dir)                       |                       \
-               ((ran) << 19)                   |                       \
+               (ran)                           |                       \
                ((bch) << 14)                   |                       \
                ((short_mode) << 13)            |                       \
                (((page_size) & 0x7f) << 6)     |                       \