Files
linux/include/sound
Cezary Rojewski 8f6c2ed42e ALSA: hda: Fix compilation of snd_hdac_adsp_xxx() helpers
[ Upstream commit 7579790915 ]

The snd_hdac_adsp_xxx() wrap snd_hdac_reg_xxx() helpers to simplify
register access for AudioDSP drivers e.g.: the avs-driver. Byte- and
word-variants of said helps do not expand to bare readx/writex()
operations but functions instead and, due to pointer type
incompatibility, cause compilation to fail.

As the macros are utilized by the avs-driver alone, relocate the code
introduced with commit c19bd02e90 ("ALSA: hda: Add helper macros for
DSP capable devices") into the avs/ directory and update it to operate
on 'adev' i.e.: the avs-driver-context directly to fix the issue.

Fixes: c19bd02e90 ("ALSA: hda: Add helper macros for DSP capable devices")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20250110113326.3809897-2-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-08 09:57:32 +01:00
..
2024-08-08 07:49:45 +02:00
2023-05-23 12:11:21 +02:00
2024-08-08 07:47:24 +02:00
2023-08-17 09:24:01 +02:00
2023-08-17 09:24:08 +02:00
2023-05-23 12:11:33 +02:00
2024-09-06 14:36:44 +01:00
2024-08-08 07:49:46 +02:00
2020-09-09 18:32:52 +02:00
2024-08-08 07:47:23 +02:00
2019-10-25 11:06:57 +01:00