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
/
0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch
diff --git
a/target/linux/lantiq/patches-3.14/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch
b/target/linux/lantiq/patches-3.14/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch
index c83a79e8733b341f905d9aedbb1e1b2e61513338..f20878cd257fdae3e941678a2f5c628c17e1ed7b 100644
(file)
--- a/
target/linux/lantiq/patches-3.14/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch
+++ b/
target/linux/lantiq/patches-3.14/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch
@@
-37,7
+37,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);
+}
+