soundwire: intel: increase maximum number of links
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 19 Aug 2024 00:55:48 +0000 (08:55 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 19 Aug 2024 11:25:53 +0000 (12:25 +0100)
Intel platforms have enabled 4 links since the beginning, newer
platforms now have 5 links. Update the definition accordingly.

This patch will have no effect on older platforms where the number of
links was hard-coded. A follow-up patch will add a dynamic check that
the ACPI-reported information is aligned with hardware capabilities on
newer platforms.

Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240819005548.5867-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/soundwire/sdw_intel.h

index cb8e7396b4db1dec6acd318ce6ddfe4d199c102b..37ae69365fe263565321b1993f6319442d9ce013 100644 (file)
@@ -453,6 +453,6 @@ extern const struct sdw_intel_hw_ops sdw_intel_lnl_hw_ops;
 /*
  * Max number of links supported in hardware
  */
-#define SDW_INTEL_MAX_LINKS                4
+#define SDW_INTEL_MAX_LINKS                5
 
 #endif