diff options
author | Amit Nagal <helloin.amit@gmail.com> | 2011-09-27 13:41:58 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-09-27 18:42:22 +0200 |
commit | f554ff80339b4005856e6a86454d6ea2bb962ee5 (patch) | |
tree | cb3c9c31c9d15a31a112e885176e5931630848e0 /drivers/hid/hid-wacom.c | |
parent | 9561f7faa45cb855b1ba83a4acf3f2ad3665e71f (diff) | |
download | linux-f554ff80339b4005856e6a86454d6ea2bb962ee5.tar.bz2 |
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: Amit Nagal <helloin.amit@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-wacom.c')
0 files changed, 0 insertions, 0 deletions