Skip to content
Snippets Groups Projects
Commit fcecb4a5 authored by Joe Hershberger's avatar Joe Hershberger Committed by Scott Wood
Browse files

mtd: nand: Check if NAND is locked tight before lock cmds


If the NAND is locked tight, commands such as lock and unlock will not
work, but the NAND chip may not report an error.  Check the lock tight
status before attempting such operations so that an error status can be
reported if we know the operation will not succeed.

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent ced199dc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment