summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>2026-05-21 16:48:48 +0300
committerThierry Reding <treding@nvidia.com>2026-05-31 08:21:14 +0300
commit2545b16e3ea049a266ec8b0e509d4e093b26b906 (patch)
tree8fb5055ee8d6365c9a981ab00f78a4afee160e50 /include/linux/workqueue_api.h
parente9bfdf06fb05168e72d3d9d6163b04e2316e0aa2 (diff)
downloadlinux-2545b16e3ea049a266ec8b0e509d4e093b26b906.tar.xz
soc/tegra: pmc: Restrict power-off handler to Nexus 7
The Tegra PMC power-off handler exists solely to reboot the Nexus 7 into a special bootloader mode when a USB cable is connected, so that the bootloader can display battery status instead of powering off. There is no reason to register it on any other Tegra board. Guard the registration behind of_machine_is_compatible("asus,grouper") and rename the handler to tegra_pmc_grouper_power_off_handler to make its scope explicit. The of_machine_is_compatible() check inside the handler itself is now redundant and is removed. This also avoids occupying SYS_OFF_PRIO_FIRMWARE on boards that have other handlers at that priority level. Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions