Home
last modified time | relevance | path

Searched hist:"5 b779fc52020ac6f5beea31c5eafc3d25cf70dc1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dwacom_sys.cdiff 5b779fc52020ac6f5beea31c5eafc3d25cf70dc1 Fri Jan 20 09:20:11 CST 2017 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: wacom: release the resources before leaving despite devm

In the general case, the resources are properly released by devm without
needing to do anything. However, when unplugging the wireless receiver,
the kernel segfaults from time to time while calling devres_release_all().

I think in that case the resources attempt to access hid_get_drvdata(hdev)
which has been set to null while leaving wacom_remove().

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>