diff options
author | Alexander Sverdlin <[email protected]> | 2020-07-22 16:01:36 +0200 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2020-07-27 08:24:39 +0300 |
commit | 44a80df4bfce02f5d51fe5040bdbdf10d0d78f4e (patch) | |
tree | 28753e022df799f63e97e990a3253eb206e766be /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | fb249e1007e0270e305ea674012dcc4f95f1304e (diff) |
mtd: spi-nor: intel-spi: Simulate WRDI command
After spi_nor_write_disable() return code checks were introduced in the
spi-nor front end intel-spi backend stopped to work because WRDI was never
supported and always failed.
Just pretend it was sucessful and ignore the command itself. HW sequencer
shall do the right thing automatically, while with SW sequencer we cannot
do it anyway, because the only tool we had was preopcode and it makes no
sense for WRDI.
Fixes: bce679e5ae3a ("mtd: spi-nor: Check for errors after each Register Operation")
Signed-off-by: Alexander Sverdlin <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions