soc: qcom: socinfo: Fix the id of SA8540P SoC
authorParikshit Pareek <quic_ppareek@quicinc.com>
Mon, 11 Jul 2022 08:39:57 +0000 (14:09 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 16 Jul 2022 15:09:08 +0000 (10:09 -0500)
Change the id of SA8540P to its correct value, i.e., 461.
Also, map the id 460 to its correct values, i.e. SA8295P.

Fixes: 76ee15ae1b13 ("soc: qcom: socinfo: Add some more PMICs and SoCs")
Signed-off-by: Parikshit Pareek <quic_ppareek@quicinc.com>
Reviewed-by: Eric Chanudet <echanude@redhat.com>
Tested-by: Eric Chanudet <echanude@redhat.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220711083957.12091-1-quic_ppareek@quicinc.com
drivers/soc/qcom/socinfo.c

index c2c879c..4554fb8 100644 (file)
@@ -328,7 +328,8 @@ static const struct soc_id soc_id[] = {
        { 455, "QRB5165" },
        { 457, "SM8450" },
        { 459, "SM7225" },
-       { 460, "SA8540P" },
+       { 460, "SA8295P" },
+       { 461, "SA8540P" },
        { 480, "SM8450" },
        { 482, "SM8450" },
        { 487, "SC7280" },