lantiq: fix wrong parameter order in xway_nand driver
authorJohn Crispin <john@openwrt.org>
Mon, 8 Feb 2016 08:25:15 +0000 (08:25 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 8 Feb 2016 08:25:15 +0000 (08:25 +0000)
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48656

target/linux/lantiq/patches-4.4/0018-MTD-nand-lots-of-xrx200-fixes.patch

index 5500861c2269d8533590f9112f11b6d241b94d45..31682bc81a42591ddcdcc80573e83441ea4b04d0 100644 (file)
@@ -69,7 +69,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  
 +      if (req_mask) {
 +              if (cmd != NAND_CMD_STATUS)
-+                      ltq_ebu_w32(EBU_NAND_WAIT, 0); /* Clear nand ready */
++                      ltq_ebu_w32(0, EBU_NAND_WAIT); /* Clear nand ready */
 +      }
 +
 +