Skip to content
Commit fb5a18cf authored by Dan Carpenter's avatar Dan Carpenter Committed by John Stultz
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarRichard Cochran <richard.cochran@omicron.at>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent e23ef227
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment