diff options
author | Michal Malý <madcatxster@devoid-pointer.net> | 2015-04-08 20:56:47 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-05-07 14:27:10 (GMT) |
commit | b211a6388ca279a16a6627da2f3681a2cab18444 (patch) | |
tree | 6b8a9f114d2ff7dc9aecfb8d118c70cd8df3f295 /drivers/hid/hid-lg.c | |
parent | 72529c65a5399be02c619ed8592e38a3e5f049f3 (diff) | |
download | linux-b211a6388ca279a16a6627da2f3681a2cab18444.tar.xz |
HID: hid-lg4ff: Stop the hid device from lg4ff
Stop the hid device from lg4ff. Originally hid-lg was responsible for
stopping of the device.
Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg.c')
-rw-r--r-- | drivers/hid/hid-lg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 3f01da6..d5022b3 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid/hid-lg.c @@ -735,8 +735,8 @@ static void lg_remove(struct hid_device *hdev) struct lg_drv_data *drv_data = hid_get_drvdata(hdev); if (drv_data->quirks & LG_FF4) lg4ff_deinit(hdev); - - hid_hw_stop(hdev); + else + hid_hw_stop(hdev); kfree(drv_data); } |