aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorKai-Heng Feng <[email protected]>2021-04-30 14:07:35 +0800
committerHans de Goede <[email protected]>2021-05-11 13:44:18 +0200
commit79d341e26ebcdbc622348aaaab6f8f89b6fdb25f (patch)
tree76cb329cdd3b1291107b3b2ecfef69e581cdc4a4 /drivers/platform/surface/aggregator/controller.c
parentb09aaa3f2c0edeeed670cd29961a0e35bddc78cf (diff)
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