[PATCH v2 0/4] hda: Minor cleanups

From: Amadeusz Sławiński
Date: Thu Aug 18 2022 - 10:14:50 EST


First two patches are small refactoring of code to use poll macros
instead of open coding register checks.
Following two patches remove unused defines from code.

v2:
* Fix includes

Amadeusz Sławiński (4):
ALSA: hda: Move stream-register polling macros
ALSA: hda: Rework snd_hdac_stream_reset() to use macros
ALSA: hda: Remove unused MAX_PIN_CONFIGS constant
ALSA: hda: Remove unused defines

include/sound/hdaudio.h | 7 +++++++
include/sound/hdaudio_ext.h | 6 ------
sound/hda/hdac_stream.c | 26 ++++++--------------------
sound/pci/hda/hda_intel.c | 7 -------
sound/pci/hda/hda_sysfs.c | 2 --
5 files changed, 13 insertions(+), 35 deletions(-)

--
2.25.1