Files
linux/drivers
Joakim Tjernlund c150842922 mtd: cfi_cmdset_0002: Use right chip in do_ppb_xxlock()
commit f93aa8c4de upstream.

do_ppb_xxlock() fails to add chip->start when querying for lock status
(and chip_ready test), which caused false status reports.
Fix that by adding adr += chip->start and adjust call sites
accordingly.

Fixes: 1648eaaa15 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-03 11:21:29 +02:00
..
2018-07-03 11:21:24 +02:00
2018-06-16 09:54:26 +02:00
2018-02-25 11:03:46 +01:00
2018-06-06 16:46:22 +02:00
2018-02-25 11:03:51 +01:00
2018-06-13 16:15:28 +02:00
2018-05-26 08:48:52 +02:00