commit | 55f380c0df6a015dc3783e7382bf295405871902 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Tue Jan 05 22:24:39 2016 -0200 |
committer | Jagan Teki <jteki@openedev.com> | Thu Jan 07 20:29:33 2016 +0530 |
tree | 03d0af31c7162d2f194c064cb542ca1b80511823 | |
parent | 8b4a7b026a4e68d7ea4710a2ff8828792b8fe4d2 [diff] |
spi: spi_flash: Fix the arguments of stm_is_locked_sr() stm_is_locked_sr() takes the status register (SR) value as the last parameter, not the second. Based on a patch from Brian Norris for the linux kernel: http://git.infradead.org/linux-mtd.git/commit/a32d5b726ff8cf32bf491522b0ac8ae2545a063e Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Jagan Teki <jteki@openedev.com>