summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-11-18 17:52:08 +0100
committerJiri Kosina <jkosina@suse.cz>2021-11-19 16:01:39 +0100
commit0b91b4e4dae63cd43871fc2012370b86ee588f91 (patch)
treebbabdb4812b68e69685687c1db184f65a1ee777c /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
parent5af06603c4090617be216a9185193a7be3ca60af (diff)
downloadlinux-0b91b4e4dae63cd43871fc2012370b86ee588f91.tar.gz
linux-0b91b4e4dae63cd43871fc2012370b86ee588f91.tar.bz2
linux-0b91b4e4dae63cd43871fc2012370b86ee588f91.zip
HID: magicmouse: Report battery level over USB
When connected over USB, the Apple Magic Mouse 2 and the Apple Magic Trackpad 2 register multiple interfaces, one of them is used to report the battery level. However, unlike when connected over Bluetooth, the battery level is not reported automatically and it is required to fetch it manually. Fix the battery report descriptor and add a timer to fetch the battery level. Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c')
0 files changed, 0 insertions, 0 deletions