Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: powernv_flash: Don't return -ERESTARTSYS on interrupted token ac…
…quisition Because the MTD core might split up a read() or write() from userspace into several calls to the driver, we may fail to get a token but already have done some work, best to return -EINTR back to userspace and have them decide what to do. Signed-off-by: Cyril Bur <[email protected]> Acked-by: Boris Brezillon <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
- Loading branch information