linux_dsm_epyc7002/drivers/mtd/spi-nor
Brian Norris 4c0dba447e mtd: spi-nor: silently drop lock/unlock for already locked/unlocked region
If, for instance, the entire flash is already unlocked and I try to
mtd_unlock() the entire device, I don't expect to see an EINVAL error.
It should just silently succeed. Ditto for mtd_lock().

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
2016-03-07 18:01:54 -08:00
..
fsl-quadspi.c mtd: spi-nor: fsl-quadspi: add support for ls1021a 2016-03-07 11:46:44 -08:00
Kconfig mtd: spi-nor: fsl-quadspi: add support for layerscape 2016-03-07 11:46:44 -08:00
Makefile mtd: mtk-nor: new Mediatek serial flash controller driver 2015-11-20 17:35:16 -08:00
mtk-quadspi.c mtd: mtk-nor: Drop bogus __init from mtk_nor_init() 2016-01-15 09:47:00 -08:00
nxp-spifi.c mtd: spi-nor: drop unnecessary partition parser data 2015-11-11 13:58:51 -08:00
spi-nor.c mtd: spi-nor: silently drop lock/unlock for already locked/unlocked region 2016-03-07 18:01:54 -08:00