Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282324
b: refs/heads/master
c: ede6a8b
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Kurtz authored and Jiri Kosina committed Dec 21, 2011
1 parent 5dc28b6 commit 30f334e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05ee28387946ca9936956a6e45f822c0c41dfc87
refs/heads/master: ede6a8b239736acd55ad8a219b2bd2ae7f551fb7
10 changes: 0 additions & 10 deletions trunk/drivers/hid/usbhid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1367,16 +1367,6 @@ static int hid_suspend(struct usb_interface *intf, pm_message_t message)
return -EIO;
}

if (!ignoreled && PMSG_IS_AUTO(message)) {
spin_lock_irq(&usbhid->lock);
if (test_bit(HID_LED_ON, &usbhid->iofl)) {
spin_unlock_irq(&usbhid->lock);
usbhid_mark_busy(usbhid);
return -EBUSY;
}
spin_unlock_irq(&usbhid->lock);
}

hid_cancel_delayed_stuff(usbhid);
hid_cease_io(usbhid);

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/hid/usbhid/usbhid.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ struct usb_interface *usbhid_find_interface(int minor);
#define HID_STARTED 8
#define HID_REPORTED_IDLE 9
#define HID_KEYS_PRESSED 10
#define HID_LED_ON 11

/*
* USB-specific HID struct, to be pointed to
Expand Down

0 comments on commit 30f334e

Please sign in to comment.