diff options
| author | Hans de Goede <[email protected]> | 2021-05-29 15:14:23 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2021-06-25 12:02:58 +0000 |
| commit | 622d97cf7f2b4efb36bec3c85b5c1db5e3dfd586 (patch) | |
| tree | 25c4e49d9439c65eb04074267a26d0b0e23516bf /net/switchdev/switchdev.c | |
| parent | HID: usbhid: Implement may_wakeup ll-driver callback (diff) | |
| download | kernel-622d97cf7f2b4efb36bec3c85b5c1db5e3dfd586.tar.gz kernel-622d97cf7f2b4efb36bec3c85b5c1db5e3dfd586.zip | |
HID: logitech-dj: Implement may_wakeup ll-driver callback
Without a ll-driver callback hid_hw_may_wakeup() will return:
device_may_wakeup(hdev->dev.parent), but for the hid devices
instantiated by logitech-dj for devices behind the receiver the
logitech-dj hid(pp)-device is the parent.
Add a logi_dj_ll_may_wakeup() callback which calls hid_hw_may_wakeup()
on the logitech-dj hid(pp) parent-hid-device.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
