]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: asihpi: Replace runtime->status->state reference to runtime->state
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Sep 2022 13:55:53 +0000 (15:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Sep 2022 06:47:56 +0000 (08:47 +0200)
commit9a5b392a367c2226a5bc7bd6ec0b5fd8bf73f548
treef29af6dfdcc38530b04f3e1e03b818aeaf9387b0
parentf0ea03655901ad4ff5e50255a375928eb586c3d1
ALSA: asihpi: 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-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c