Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: qcom: sdm845: add remark about unneeded compatibles

If all devices are the same or compatible, there is no single need to
keep growing of_device_id list with new entries.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230118101542.96705-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
3a14adc5 b4090b7c

+1
+1
sound/soc/qcom/sdm845.c
··· 588 588 589 589 static const struct of_device_id sdm845_snd_device_id[] = { 590 590 { .compatible = "qcom,sdm845-sndcard" }, 591 + /* Do not grow the list for compatible devices */ 591 592 { .compatible = "qcom,db845c-sndcard" }, 592 593 { .compatible = "lenovo,yoga-c630-sndcard" }, 593 594 {},