Skip to content
Unverified Commit 40b7d5cc authored by Tudor Ambarus's avatar Tudor Ambarus
Browse files

mtd: spi-nor: Check all the bits written, not just the BP ones



Check that all the bits written in the write_sr_and_check() method
match the status_new received value. Failing to write the other bits
is dangerous too, extend the check.

Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent b0db77f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment