projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4090b7
)
ASoC: qcom: sdm845: add remark about unneeded compatibles
author
Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org>
Wed, 18 Jan 2023 10:15:42 +0000
(11:15 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 25 Jan 2023 12:38:44 +0000
(12:38 +0000)
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>
sound/soc/qcom/sdm845.c
patch
|
blob
|
history
diff --git
a/sound/soc/qcom/sdm845.c
b/sound/soc/qcom/sdm845.c
index d8d35563af00fda216649acbc3e8d1e08bb98fec..02612af714a8e8b215f20831a33abece6bdbaaea 100644
(file)
--- a/
sound/soc/qcom/sdm845.c
+++ b/
sound/soc/qcom/sdm845.c
@@
-588,6
+588,7
@@
static int sdm845_snd_platform_probe(struct platform_device *pdev)
static const struct of_device_id sdm845_snd_device_id[] = {
{ .compatible = "qcom,sdm845-sndcard" },
+ /* Do not grow the list for compatible devices */
{ .compatible = "qcom,db845c-sndcard" },
{ .compatible = "lenovo,yoga-c630-sndcard" },
{},