diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-05 21:37:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-05 21:37:21 +0000 |
commit | 5bbe758e4ed46997df2fda0296974e1a6032a3be (patch) | |
tree | 53676bba210fb60ef1a8cfd275603d5021d5c514 /target/linux/lantiq/patches-3.14/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch | |
parent | 26b57a6dc221b8beda50c38be441dde4ba79a634 (diff) | |
download | upstream-5bbe758e4ed46997df2fda0296974e1a6032a3be.tar.gz upstream-5bbe758e4ed46997df2fda0296974e1a6032a3be.tar.bz2 upstream-5bbe758e4ed46997df2fda0296974e1a6032a3be.zip |
lantiq: add missing NAND_WRITE_DATA in NAND driver.
Signed-off-by: Sylwester Petela <sscapi@gmail.com>
SVN-Revision: 43856
Diffstat (limited to 'target/linux/lantiq/patches-3.14/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.14/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 c83a79e873..f20878cd25 100644 --- 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); +} + |