]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Rework snd_hdac_stream_reset() to use macros
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Thu, 18 Aug 2022 14:15:15 +0000 (16:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Aug 2022 09:29:12 +0000 (11:29 +0200)
commitc4a8e7933136363b582cf1a915a4393d72b789b7
tree0e72b5a926c32325e26a535f0d9b7501a6b74ad8
parent30d94c56575aa36e2a04e831e59f3dbf8993db70
ALSA: hda: Rework snd_hdac_stream_reset() to use macros

We can use existing macros to poll and update register values instead of
open coding the functionality.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20220818141517.109280-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_stream.c