]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Add helper macros for DSP capable devices
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 11 Mar 2022 15:35:28 +0000 (16:35 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 11 Mar 2022 16:23:52 +0000 (16:23 +0000)
commit54006c596556df16d399106ffd211a4f404bd4af
treede411b6c9ac54e7e07f5c451d4a046c6b407a48a
parenta175de10d10b8816628b4dbe777416d3c2996fe4
ALSA: hda: Add helper macros for DSP capable devices

HDAudio drivers make heavy use of I/O operations. Declare a range of
update, read and write helpers similar to those available for HDAudio
legacy driver. These macros are used by AVS driver to improve code
readability.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20220311153544.136854-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/hdaudio.h
include/sound/hdaudio_ext.h