commit | e7e1f7be335458139e0a112bd0aae40d33dfe3a8 | [log] [tgz] |
---|---|---|
author | John Crispin <john@phrozen.org> | Mon Jun 20 23:32:11 2016 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Jul 11 08:40:15 2016 +0200 |
tree | 7f18bc7c7077ada41cf0848683543fbd7e621dff | |
parent | 44772fa5ec4162ef133f1294299d1e1ada7d2d11 [diff] |
mtd: nand: xway: fix nand locking The external Bus Unit (EBU) can control different flash devices, but these NAND flash commands have to be atomic and should not be interrupted in between. Lock the EBU from the beginning of the command till the end by moving the lock to the chip select. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>