projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lantiq: add missing NAND_WRITE_DATA in NAND driver.
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
lantiq
/
patches-3.14
/
0017-MTD-xway-fix-nand-locking.patch
diff --git
a/target/linux/lantiq/patches-3.14/0017-MTD-xway-fix-nand-locking.patch
b/target/linux/lantiq/patches-3.14/0017-MTD-xway-fix-nand-locking.patch
index 1b0c01a9d6fe24dfab2082c65f20fe400cbafbaf..737469aab554228db2bbe9366fb940c21eba539b 100644
(file)
--- a/
target/linux/lantiq/patches-3.14/0017-MTD-xway-fix-nand-locking.patch
+++ b/
target/linux/lantiq/patches-3.14/0017-MTD-xway-fix-nand-locking.patch
@@
-82,7
+82,7
@@
Signed-off-by: John Crispin <blogic@openwrt.org>
- spin_lock_irqsave(&ebu_lock, flags);
for (i = 0; i < len; i++)
- ltq_w8(buf[i], (void __iomem *)
nandaddr
);
+ ltq_w8(buf[i], (void __iomem *)
(nandaddr | NAND_WRITE_DATA)
);
- spin_unlock_irqrestore(&ebu_lock, flags);
}