diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-01-05 12:35:31 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-01-07 11:29:53 +0300 |
commit | ae50e2ab122cef68f46b7799fb9deffe3334f5e2 (patch) | |
tree | 818342adab5597c8f7191d022c4e5c6e72d3c903 /sound/core/control_led.c | |
parent | 15a59cb0a3d6ddf2cb79f8dc3081b3130aad3767 (diff) | |
download | linux-ae50e2ab122cef68f46b7799fb9deffe3334f5e2.tar.xz |
ALSA: hda: cs35l41: Check runtime suspend capability at runtime_idle
The runtime PM core checks with runtime_idle callback whether it can
goes to the runtime suspend or not, and we can put the boost type
check there instead of runtime_suspend and _resume calls. This will
reduce the unnecessary runtime_suspend() calls.
Fixes: 1873ebd30cc8 ("ALSA: hda: cs35l41: Support Hibernation during Suspend")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230105093531.16960-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/control_led.c')
0 files changed, 0 insertions, 0 deletions