[PATCH] ALSA: hda: Update register polling macros

Takashi Iwai tiwai at suse.de
Sun Oct 9 12:37:41 CEST 2022


On Fri, 07 Oct 2022 10:48:56 +0200,
Amadeusz Sławiński wrote:
> 
> Recent commit d91857059def ("ALSA: hda: Rework snd_hdac_stream_reset() to use macros")
> missed that on some devices register access needs to be done with
> unaligned access helper. Change polling macros to use
> read_poll_timeout_atomic() in order to specify register read function.
> 
> Reported-by: Jon Hunter <jonathanh at nvidia.com>
> Link: https://lore.kernel.org/alsa-devel/20220818141517.109280-1-amadeuszx.slawinski@linux.intel.com/T/#m1270737db52b5ef163eff73cb5f862d16a07a428
> Reviewed-by: Cezary Rojewski <cezary.rojewski at intel.com>
> Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski at linux.intel.com>

Thanks, applied with Fixes tag.


Takashi


More information about the Alsa-devel mailing list