]> git.hungrycats.org Git - linux/commit
ASoC: SOF: Intel: Use codec_info_list.is_amp directly
authorBard Liao <yung-chuan.liao@linux.intel.com>
Fri, 5 Jun 2026 10:18:05 +0000 (18:18 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jun 2026 11:06:08 +0000 (12:06 +0100)
commit0305c084acf2ba9465acf6b5816bea441fe08b58
treeb613cd169a544a81864d44a8c19dae9f6dae95ae
parentdb06e7b35c1c9ffcc7486875139fa728f895f351
ASoC: SOF: Intel: Use codec_info_list.is_amp directly

Now we set is_amp to all amp type codecs. We can use the flag directly
instead of using a local flag to check if the codec is an AMP type.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260605101805.121428-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c