[PATCH v4 3/9] ALSA: hda: Introduce snd_hdac_stream_wait_drsm()

Takashi Iwai tiwai at suse.de
Thu Oct 27 15:31:41 CEST 2022


On Thu, 27 Oct 2022 14:46:56 +0200,
Cezary Rojewski wrote:
> 
> 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 at linux.intel.com>
> Signed-off-by: Cezary Rojewski <cezary.rojewski at intel.com>
> ---
> 
> Changes in v4:
> - replaced readb_poll_timeout() with read_poll_timeout() for the DRSM
>   polling function as the register is u32 wide, not u8

Reviewed-by: Takashi Iwai <tiwai at suse.de>


thanks,

Takashi


More information about the Alsa-devel mailing list