commit | f49289ce64b7f7da4d7129666854b499b9d415eb | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Fri Nov 20 16:26:11 2015 -0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Dec 09 18:15:01 2015 -0800 |
tree | 6250a3b53bba2773e54ef23f3229a136efca548b | |
parent | adc83bf8896353603213754353dd66dae69e3d7f [diff] |
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: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>