-
Brian Norris authored
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>
4c0dba44