Skip to content
Commit f49289ce authored by Fabio Estevam's avatar Fabio Estevam Committed by Brian Norris
Browse files

mtd: spi-nor: Check the return value from read_sr()



We should better check the return value from read_sr() and
propagate it in the case of error.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent adc83bf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment