Skip to content
Commit f554ff80 authored by Amit Nagal's avatar Amit Nagal Committed by Jiri Kosina
Browse files

HID: hidraw: open count should not increase if error



In hidraw_open, if hid_hw_power returns with error, hidraw device open count
should not increase.

Signed-off-by: default avatarAmit Nagal <helloin.amit@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 9561f7fa
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