ALSA: usb-audio: Replace runtime->status->state reference to runtime->state
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Sep 2022 13:55:54 +0000 (15:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Sep 2022 06:48:22 +0000 (08:48 +0200)
commitd8b4efeeb37ae5e221be6b265a5b93f54c242e82
tree767faf29af744f5ab4030010bfb625874806103a
parent7246e5c80630bb4dfdd50c7de2c38c4a91fd36fc
ALSA: usb-audio: 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-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c