diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 18:02:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 18:02:58 -0400 |
commit | 22a3b9771117d566def0150ea787fcc95f16e724 (patch) | |
tree | 20e24aa4df50cde8d28211531e893a7be61d1dfe /drivers/hid/hid-emsff.c | |
parent | acb41c0f928fdb84a1c3753ac92c534a2a0f08d2 (diff) | |
parent | a91f423e598912ab301592c7759cfd89e10682a1 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (31 commits)
HID: fix support for Microsoft comfort mouse 4500
HID: hid-multitouch: add one new multitouch device's VID/PID
HID: prodikeys: remove a redundant forward declaration of struct pcmidi_snd
HID: prodikeys: make needlessly global symbols static
HID: emsff: properly handle emsff_init failure
HID: ACRUX - add missing hid_hw_stop() in ax_probe() error path
HID: fix horizontal wheel for ms comfort mouse 4500
HID: uclogic: Add support for UC-Logic WP1062
HID: wiimote: Add sysfs support to wiimote driver
HID: wiimote: Cache wiimote led state
HID: wiimote: Add wiimote led request
HID: wiimote: Add wiimote input button parser
HID: wiimote: Add wiimote event handler
HID: wiimote: Add output queue for wiimote driver
HID: wiimote: Add wiimote send function
HID: wiimote: Synchronize wiimote input and hid event handling
HID: wiimote: Register input device in wiimote hid driver
HID: wiimote: Add wiimote device structure
HID: wiimote: Register wiimote hid driver stub
HID: wiimote: Add Nintendo Wii Remote driver stub
...
Diffstat (limited to 'drivers/hid/hid-emsff.c')
-rw-r--r-- | drivers/hid/hid-emsff.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/hid/hid-emsff.c b/drivers/hid/hid-emsff.c index 81877c67caea..a5dc13fe367b 100644 --- a/drivers/hid/hid-emsff.c +++ b/drivers/hid/hid-emsff.c | |||
@@ -126,7 +126,12 @@ static int ems_probe(struct hid_device *hdev, const struct hid_device_id *id) | |||
126 | goto err; | 126 | goto err; |
127 | } | 127 | } |
128 | 128 | ||
129 | emsff_init(hdev); | 129 | ret = emsff_init(hdev); |
130 | if (ret) { | ||
131 | dev_err(&hdev->dev, "force feedback init failed\n"); | ||
132 | hid_hw_stop(hdev); | ||
133 | goto err; | ||
134 | } | ||
130 | 135 | ||
131 | return 0; | 136 | return 0; |
132 | err: | 137 | err: |