Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ptp: Fix some locking bugs in ptp_read()
In ptp_read there is an unlock missing on an error path, and a double unlock on another error path. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Richard Cochran <[email protected]> Signed-off-by: John Stultz <[email protected]>
- Loading branch information