aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorKenny Levinsen <[email protected]>2024-11-20 00:53:17 +0100
committerBenjamin Tissoires <[email protected]>2024-11-28 11:18:14 +0100
commit34851431ceca1bf457d85895bd38a4e7967e2055 (patch)
treedf04543b95f59090645a4d4a1aea19e09d9e26d4 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent919464deeca24e5bf13b6c8efd0b1d25cc43866f (diff)
HID: i2c-hid: Revert to using power commands to wake on resume
commit 7d6f065de37c ("HID: i2c-hid: Use address probe to wake on resume") replaced the retry of power commands with the dummy read "bus probe" we use on boot which accounts for a necessary delay before retry. This made at least one Weida device (2575:0910 in an ASUS Vivobook S14) very unhappy, as the bus probe despite being successful somehow lead to the following power command failing so hard that the device never lets go of the bus. This means that even retries of the power command would fail on a timeout as the bus remains busy. Remove the bus probe on resume and instead reintroduce retry of the power command for wake-up purposes while respecting the newly established wake-up retry timings. Fixes: 7d6f065de37c ("HID: i2c-hid: Use address probe to wake on resume") Cc: [email protected] Reported-by: Michael <[email protected]> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219440 Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Kenny Levinsen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions