aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorKai-Heng Feng <[email protected]>2021-04-30 06:07:35 +0000
committerHans de Goede <[email protected]>2021-05-11 11:44:18 +0000
commit79d341e26ebcdbc622348aaaab6f8f89b6fdb25f (patch)
tree76cb329cdd3b1291107b3b2ecfef69e581cdc4a4 /drivers/platform/surface/aggregator/controller.c
parentplatform/x86: ideapad-laptop: fix method name typo (diff)
downloadkernel-79d341e26ebcdbc622348aaaab6f8f89b6fdb25f.tar.gz
kernel-79d341e26ebcdbc622348aaaab6f8f89b6fdb25f.zip
platform/x86: hp_accel: Avoid invoking _INI to speed up resume
hp_accel can take almost two seconds to resume on some HP laptops. The bottleneck is on evaluating _INI, which is only needed to run once. Resolve the issue by only invoking _INI when it's necessary. Namely, on probe and on hibernation restore. Signed-off-by: Kai-Heng Feng <[email protected]> Acked-by: Éric Piel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions