aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/mtd
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2017-12-05 12:13:44 -0600
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>2017-12-13 00:36:00 +0100
commit2666067fdba26a0a87cf50bb38f5a73aabd0f517 (patch)
treedc1a09cb8202e95f8aa4c3ecf0800d3f9a57e2af /Documentation/mtd
parentmtd: spi-nor: check FSR error bits for Micron memories (diff)
downloadlinux-dev-2666067fdba26a0a87cf50bb38f5a73aabd0f517.tar.xz
linux-dev-2666067fdba26a0a87cf50bb38f5a73aabd0f517.zip
mtd: spi-nor: Check that BP bits are set properly
Previously, the lock and unlock functions returned success even if the BP bits were not actually updated in the status register due to hardware write protection. Introduce write_sr_and_check() to write and read back the status register to ensure the desired BP bits are actually set as requested. Signed-off-by: Joe Schultz <jschultz@xes-inc.com> Signed-off-by: Aaron Sierra <asierra@xes-inc.com> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Diffstat (limited to 'Documentation/mtd')
0 files changed, 0 insertions, 0 deletions