Searched hist:"9 ac6678b95b0dd9458a7a6869f46e51cd55a1d84" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/hid/ |
H A D | wacom.h | diff 9ac6678b95b0dd9458a7a6869f46e51cd55a1d84 Tue Jul 25 17:20:25 CDT 2023 Aaron Armstrong Skomra <aaron.skomra@wacom.com> HID: wacom: remove the battery when the EKR is off
Currently the EKR battery remains even after we stop getting information from the device. This can lead to a stale battery persisting indefinitely in userspace.
The remote sends a heartbeat every 10 seconds. Delete the battery if we miss two heartbeats (after 21 seconds). Restore the battery once we see a heartbeat again.
Signed-off-by: Aaron Skomra <skomra@gmail.com> Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Fixes: 9f1015d45f62 ("HID: wacom: EKR: attach the power_supply on first connection") CC: stable@vger.kernel.org Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | wacom_wac.h | diff 9ac6678b95b0dd9458a7a6869f46e51cd55a1d84 Tue Jul 25 17:20:25 CDT 2023 Aaron Armstrong Skomra <aaron.skomra@wacom.com> HID: wacom: remove the battery when the EKR is off
Currently the EKR battery remains even after we stop getting information from the device. This can lead to a stale battery persisting indefinitely in userspace.
The remote sends a heartbeat every 10 seconds. Delete the battery if we miss two heartbeats (after 21 seconds). Restore the battery once we see a heartbeat again.
Signed-off-by: Aaron Skomra <skomra@gmail.com> Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Fixes: 9f1015d45f62 ("HID: wacom: EKR: attach the power_supply on first connection") CC: stable@vger.kernel.org Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | wacom_sys.c | diff 9ac6678b95b0dd9458a7a6869f46e51cd55a1d84 Tue Jul 25 17:20:25 CDT 2023 Aaron Armstrong Skomra <aaron.skomra@wacom.com> HID: wacom: remove the battery when the EKR is off
Currently the EKR battery remains even after we stop getting information from the device. This can lead to a stale battery persisting indefinitely in userspace.
The remote sends a heartbeat every 10 seconds. Delete the battery if we miss two heartbeats (after 21 seconds). Restore the battery once we see a heartbeat again.
Signed-off-by: Aaron Skomra <skomra@gmail.com> Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Fixes: 9f1015d45f62 ("HID: wacom: EKR: attach the power_supply on first connection") CC: stable@vger.kernel.org Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | wacom_wac.c | diff 9ac6678b95b0dd9458a7a6869f46e51cd55a1d84 Tue Jul 25 17:20:25 CDT 2023 Aaron Armstrong Skomra <aaron.skomra@wacom.com> HID: wacom: remove the battery when the EKR is off
Currently the EKR battery remains even after we stop getting information from the device. This can lead to a stale battery persisting indefinitely in userspace.
The remote sends a heartbeat every 10 seconds. Delete the battery if we miss two heartbeats (after 21 seconds). Restore the battery once we see a heartbeat again.
Signed-off-by: Aaron Skomra <skomra@gmail.com> Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Fixes: 9f1015d45f62 ("HID: wacom: EKR: attach the power_supply on first connection") CC: stable@vger.kernel.org Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|