[PATCH 0/4] ALSA: hda: Minor cleanups

From: Amadeusz Sławiński
Date: Wed Aug 17 2022 - 09:11:26 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.

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 | 6 ++++++
include/sound/hdaudio_ext.h | 6 ------
sound/hda/hdac_stream.c | 27 +++++++--------------------
sound/pci/hda/hda_intel.c | 7 -------
sound/pci/hda/hda_sysfs.c | 2 --
5 files changed, 13 insertions(+), 35 deletions(-)

--
2.25.1