mbox series

[v2,0/4] hda: Minor cleanups

Message ID 20220818141517.109280-1-amadeuszx.slawinski@linux.intel.com (mailing list archive)
Headers show
Series hda: Minor cleanups | expand

Message

Amadeusz Sławiński Aug. 18, 2022, 2:15 p.m. UTC
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(-)

Comments

Takashi Iwai Aug. 19, 2022, 12:05 p.m. UTC | #1
On Thu, 18 Aug 2022 16:15:13 +0200,
Amadeusz Sławiński wrote:
> 
> 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

Thanks, applied now to for-next branch.


Takashi