]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aloop: Replace runtime->status->state reference to runtime->state
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Sep 2022 13:55:50 +0000 (15:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Sep 2022 06:47:13 +0000 (08:47 +0200)
commitbd8a4b4859ede027037115011455a3a428edcebc
tree7a7490993954976a4b0d9e9347f9d092da61d230
parent23f5257a8ccf05ef1a827ab9d9bf1da891a8b35d
ALSA: aloop: Replace runtime->status->state reference to runtime->state

The recent change in ALSA core allows drivers to get the current PCM
state directly from runtime object.  Replace the calls accordingly.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20220926135558.26580-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/aloop.c