ASoC: intel: Replace runtime->status->state reference to runtime->state
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Sep 2022 13:55:56 +0000 (15:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Sep 2022 06:48:57 +0000 (08:48 +0200)
commit2bd2dc2672b2d0d45be371430970084330879a46
tree5e7289d90b71479811dae4c02dc1e66d0eb3f133
parentca4833c5a21bf419fe505e9798bbf49cbd482e8f
ASoC: intel: 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>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20220926135558.26580-10-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/intel/skylake/skl-pcm.c