commit | f1ce87f6080b1dda7e7b1eda3da332add19d87b9 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <joakim.tjernlund@infinera.com> | Wed Jun 06 12:13:30 2018 +0200 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Fri Jun 22 10:29:16 2018 +0200 |
tree | af709314e6f9270ba63b01aebf49673822ac413a | |
parent | 0cd8116f172eed018907303dbff5c112690eeb91 [diff] |
mtd: cfi_cmdset_0002: Avoid walking all chips when unlocking. cfi_ppb_unlock() walks all flash chips when unlocking sectors, avoid walking chips unaffected by the unlock operation. Fixes: 1648eaaa1575 ("mtd: cfi_cmdset_0002: Support Persistent Protection Bits (PPB) locking") Cc: stable@vger.kernel.org Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>