Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256812
b: refs/heads/master
c: 2dcd954
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Jiri Kosina committed Jul 20, 2011
1 parent 1f9487f commit 551938b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: b30d89d1055f9acd14b5eaf82d8f6a4763e91d85
refs/heads/master: 2dcd9543a28da523a179a13b1eefa5f9b8e05d72
7 changes: 6 additions & 1 deletion trunk/drivers/hid/hid-emsff.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ static int ems_probe(struct hid_device *hdev, const struct hid_device_id *id)
goto err;
}

emsff_init(hdev);
ret = emsff_init(hdev);
if (ret) {
dev_err(&hdev->dev, "force feedback init failed\n");
hid_hw_stop(hdev);
goto err;
}

return 0;
err:
Expand Down

0 comments on commit 551938b

Please sign in to comment.