aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorBasavaraj Natikar <[email protected]>2024-10-24 19:07:18 +0530
committerGreg Kroah-Hartman <[email protected]>2024-10-29 04:23:36 +0100
commit31004740e42846a6f0bb255e6348281df3eb8032 (patch)
tree598d69ea8a51f8f5c52c4e6f5911344ee73dfb4b /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parente7cd4b811c9e019f5acbce85699c622b30194c24 (diff)
xhci: Use pm_runtime_get to prevent RPM on unsupported systems
Use pm_runtime_put in the remove function and pm_runtime_get to disable RPM on platforms that don't support runtime D3, as re-enabling it through sysfs auto power control may cause the controller to malfunction. This can lead to issues such as hotplug devices not being detected due to failed interrupt generation. Fixes: a5d6264b638e ("xhci: Enable RPM on controllers that support low-power states") Cc: stable <[email protected]> Signed-off-by: Basavaraj Natikar <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions