commit | 509215835944eb7ebd4b690d3f1b8fec7d78991d | [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 | 78680314c53a95c0bb25e942662979843b60d7b9 [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>