]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ALSA: Drop superfluous argument from snd_power_wait()
authorTakashi Iwai <tiwai@suse.de>
Sun, 23 May 2021 09:09:19 +0000 (11:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 May 2021 06:49:39 +0000 (08:49 +0200)
commitb6cc78da367cf9aac7ae77bbea73ecca43a70461
tree298decf4b36d05bf0c2e10757380fe17d6cbbc72
parent968bb2baec60757ae86b4ee937561f5815488044
ALSA: Drop superfluous argument from snd_power_wait()

The power_state argument of snd_power_wait() is superfluous, receiving
only SNDRV_POWER_STATE_D0.  Let's drop it in all callers for
simplicity.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210523090920.15345-6-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/init.c
sound/core/pcm_native.c
sound/soc/soc-core.c
sound/usb/usx2y/us122l.c