From c3fc71527dca8601f1fb8dc8a10791bb45c34fc1 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 8 Feb 2016 08:25:15 +0000
Subject: [PATCH] lantiq: fix wrong parameter order in xway_nand driver

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 48656
---
 .../lantiq/patches-4.4/0018-MTD-nand-lots-of-xrx200-fixes.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/lantiq/patches-4.4/0018-MTD-nand-lots-of-xrx200-fixes.patch b/target/linux/lantiq/patches-4.4/0018-MTD-nand-lots-of-xrx200-fixes.patch
index 5500861c22..31682bc81a 100644
--- a/target/linux/lantiq/patches-4.4/0018-MTD-nand-lots-of-xrx200-fixes.patch
+++ b/target/linux/lantiq/patches-4.4/0018-MTD-nand-lots-of-xrx200-fixes.patch
@@ -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 */
 +	}
 +
 +
-- 
GitLab