diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-05-23 12:09:18 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-25 09:49:06 +0300 |
commit | 968bb2baec60757ae86b4ee937561f5815488044 (patch) | |
tree | 30f4458f4887ab9e2a008fe9c5b6a39bdd0949b0 /sound/soc/soc-core.c | |
parent | 73063cd3236e8b17e530c491b1d265ff56f1fa79 (diff) | |
download | linux-968bb2baec60757ae86b4ee937561f5815488044.tar.xz |
ALSA: control: Minor optimization for SNDRV_CTL_IOCTL_POWER_STATE
Long long time ago, before the proper PM framework was introduced, it
was still possible to reach SNDRV_CTL_IOCTL_POWER ioctl during the
power off state. This ioctl existed as a main control for the suspend
resume state in the past, but the feature was already dropped along
with the standard PM framework. Now the read part,
SNDRV_IOCTL_POWER_STATE ioctl, returns practically always D0, and we
can do some minor optimization there.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20210523090920.15345-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions