diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-01-05 22:24:39 -0200 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-01-07 20:29:33 +0530 |
commit | 509215835944eb7ebd4b690d3f1b8fec7d78991d (patch) | |
tree | 03d0af31c7162d2f194c064cb542ca1b80511823 /drivers/mtd/cfi_flash.c | |
parent | 78680314c53a95c0bb25e942662979843b60d7b9 (diff) | |
download | u-boot-imx-509215835944eb7ebd4b690d3f1b8fec7d78991d.zip u-boot-imx-509215835944eb7ebd4b690d3f1b8fec7d78991d.tar.gz u-boot-imx-509215835944eb7ebd4b690d3f1b8fec7d78991d.tar.bz2 |
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>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
0 files changed, 0 insertions, 0 deletions