]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: SOF: Intel: Add a is_amp flag to fix the wrong name prefix
authorDerek Fang <derek.fang@realtek.com>
Thu, 26 Mar 2026 07:53:01 +0000 (15:53 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2026 16:22:42 +0000 (16:22 +0000)
commitdd4a1963ddf0d0f5e129efec03f34ea37109b4b7
tree91b4e682541f444aba26da1aa2cd8b209c487742
parent9033f7b7f27d09d468c98ed2b811d0f2495c70c1
ASoC: SOF: Intel: Add a is_amp flag to fix the wrong name prefix

According to the Intel sof design, it will create the name prefix
appended with amp index for the amp codec only, such as:
rt1318-1, rt1318-2, etc...

But the rt1320 is a codec with amp and mic codec functions, it doesn't
have the amp index in its name prefix as above.
And then it will be hard to identify the codec if in multi-rt1320 case.
So we add a flag to force the amp index to be appended.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20260326075303.1083567-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc_sdw_utils.h
sound/soc/sof/intel/hda.c