lantiq: fix wrong parameter order in xway_nand driver
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Feb 2016 08:25:15 +0000 (08:25 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Feb 2016 08:25:15 +0000 (08:25 +0000)
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48656 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 5500861..31682bc 100644 (file)
@@ -69,7 +69,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  
 +      if (req_mask) {
 +              if (cmd != NAND_CMD_STATUS)
  
 +      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 */
 +      }
 +
 +
 +      }
 +
 +