Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325502
b: refs/heads/master
c: 3f257ca
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Jonathan Cameron committed Sep 22, 2012
1 parent 71aa799 commit 33a07e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: f0347c36ccd7cfd31c8af10509d4110f0a769a85
refs/heads/master: 3f257caf2d18fb45ab8d0fbaf71812d2b403cd0d
2 changes: 0 additions & 2 deletions trunk/drivers/hid/hid-sensor-hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,6 @@ static int sensor_hub_probe(struct hid_device *hdev,
}
INIT_LIST_HEAD(&hdev->inputs);

hdev->claimed = HID_CLAIMED_INPUT;
ret = hid_hw_start(hdev, 0);
if (ret) {
hid_err(hdev, "hw start failed\n");
Expand Down Expand Up @@ -618,7 +617,6 @@ static void sensor_hub_remove(struct hid_device *hdev)
int i;

hid_dbg(hdev, " hardware removed\n");
hdev->claimed &= ~HID_CLAIMED_INPUT;
hid_hw_stop(hdev);
hid_hw_close(hdev);
spin_lock_irqsave(&data->lock, flags);
Expand Down

0 comments on commit 33a07e4

Please sign in to comment.