diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-01-06 00:24:39 (GMT) |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-01-07 14:59:33 (GMT) |
commit | 509215835944eb7ebd4b690d3f1b8fec7d78991d (patch) | |
tree | 03d0af31c7162d2f194c064cb542ca1b80511823 /drivers/spi | |
parent | 78680314c53a95c0bb25e942662979843b60d7b9 (diff) | |
download | u-boot-fsl-qoriq-509215835944eb7ebd4b690d3f1b8fec7d78991d.tar.xz |
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/spi')
0 files changed, 0 insertions, 0 deletions