summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2025-04-07 13:23:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 15:40:48 +0200
commit85c3c6cf9a3f6944346e2640c4170e2981cd46b8 (patch)
tree511909f03c86a0125b5449e4fbc3dd1d9fd00908 /include
parent49dcdee529bae3d8c4fe3f061cbf912afed4124a (diff)
downloadlinux-85c3c6cf9a3f6944346e2640c4170e2981cd46b8.tar.gz
linux-85c3c6cf9a3f6944346e2640c4170e2981cd46b8.tar.bz2
linux-85c3c6cf9a3f6944346e2640c4170e2981cd46b8.zip
ASoC: Intel: avs: Read HW capabilities when possible
[ Upstream commit b9a3ec604993074eb6f5d08b14fb7913d1fae48b ] Starting with LunarLake (LNL) and onward, some hardware capabilities are visible to the sound driver directly. At the same time, these may no longer be visible to the AudioDSP firmware. Update resource allocation function to rely on the registers when possible. Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Link: https://patch.msgid.link/20250407112352.3720779-4-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Stable-dep-of: 9e3285be55e6 ("ASoC: Intel: avs: Fix paths in MODULE_FIRMWARE hints") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/hdaudio_ext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h
index 60ec12e3b72f..7de390022ac2 100644
--- a/include/sound/hdaudio_ext.h
+++ b/include/sound/hdaudio_ext.h
@@ -99,6 +99,7 @@ struct hdac_ext_link {
u32 lcaps; /* link capablities */
u16 lsdiid; /* link sdi identifier */
u32 id;
+ u8 slcount;
int ref_count;