lantiq: fix wrong parameter order in xway_nand driver
[openwrt.git] / 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)
-+                      ltq_ebu_w32(EBU_NAND_WAIT, 0); /* Clear nand ready */
++                      ltq_ebu_w32(0, EBU_NAND_WAIT); /* Clear nand ready */
 +      }
 +
 +