ASoC: qcom: sm8250: update compatible with new bindings
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 29 Oct 2020 10:15:50 +0000 (10:15 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 29 Oct 2020 15:56:37 +0000 (15:56 +0000)
Update compatible string as board compatible and device compatible
should not be same!. Make the driver inline with the new bindings.

Fixes: aa2e2785545a ("ASoC: qcom: sm8250: add sound card qrb5165-rb5 support")
Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20201029101550.31695-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sm8250.c

index 52c40512102f7efad3d49000472e4421a8727167..315ed6ccb7c48bf52ec968be438dc68dcb6a9845 100644 (file)
@@ -207,8 +207,8 @@ static int sm8250_platform_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id snd_sm8250_dt_match[] = {
-       {.compatible = "qcom,sdm8250"},
-       {.compatible = "qcom,qrb5165-rb5"},
+       {.compatible = "qcom,sm8250-sndcard"},
+       {.compatible = "qcom,qrb5165-rb5-sndcard"},
        {}
 };