OSDN Git Service

ALSA: hda: Introduce snd_hdac_stream_wait_drsm()
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 27 Oct 2022 12:46:56 +0000 (14:46 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 28 Oct 2022 12:04:33 +0000 (13:04 +0100)
commitefffb014478e76c35b1a9e279d7010f70ff517e2
tree773a4ca8a86e594191a3d4b40e1a79745b08d747
parent2b9a50ea845ebe95473f5b85dfcc9b806c252fac
ALSA: hda: Introduce snd_hdac_stream_wait_drsm()

Allow for waiting for DRSM bit for specified stream to be cleared from
HDAudio library level. Drivers may utilize this optional step during the
stream resume procedure.

Suggested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20221027124702.1761002-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/hdaudio.h
sound/hda/hdac_stream.c