summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg4ff.c
diff options
context:
space:
mode:
authorMichal Malý <madcatxster@devoid-pointer.net>2015-04-08 22:56:47 +0200
committerJiri Kosina <jkosina@suse.cz>2015-05-07 16:27:10 +0200
commitb211a6388ca279a16a6627da2f3681a2cab18444 (patch)
tree6b8a9f114d2ff7dc9aecfb8d118c70cd8df3f295 /drivers/hid/hid-lg4ff.c
parent72529c65a5399be02c619ed8592e38a3e5f049f3 (diff)
downloadblackbird-op-linux-b211a6388ca279a16a6627da2f3681a2cab18444.tar.gz
blackbird-op-linux-b211a6388ca279a16a6627da2f3681a2cab18444.zip
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-lg4ff.c')
-rw-r--r--drivers/hid/hid-lg4ff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
index 0f8d72694aaa..031b8abd7131 100644
--- a/drivers/hid/hid-lg4ff.c
+++ b/drivers/hid/hid-lg4ff.c
@@ -1213,6 +1213,8 @@ int lg4ff_deinit(struct hid_device *hid)
}
}
#endif
+ hid_hw_stop(hid);
+ drv_data->device_props = NULL;
kfree(entry);
out:
OpenPOWER on IntegriCloud