]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: soc_sdw_utils: skip the endpoint that doesn't present
authorBard Liao <yung-chuan.liao@linux.intel.com>
Mon, 14 Apr 2025 06:32:39 +0000 (14:32 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Apr 2025 10:22:26 +0000 (11:22 +0100)
commit4f8ef33dd44a3d1136d3934609b8a43e62aaaa0d
tree99eb2799f4b9d5a2324b2ba0170a091a91d31cde
parent6d893cfb3d399a9eae95a8c23041dc42dc6dc18f
ASoC: soc_sdw_utils: skip the endpoint that doesn't present

A codec endpoint may not be used. We could check the present SDCA
functions to know if the endpoint is used or not. Skip the endpoint
which is not used.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20250414063239.85200-12-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdw_utils/soc_sdw_utils.c