diff mbox series

cpufreq: blacklist Qualcomm sm8150 in cpufreq-dt-platdev

Message ID 20210804133451.2503674-1-thara.gopinath@linaro.org (mailing list archive)
State Superseded, archived
Headers show
Series cpufreq: blacklist Qualcomm sm8150 in cpufreq-dt-platdev | expand

Commit Message

Thara Gopinath Aug. 4, 2021, 1:34 p.m. UTC
The Qualcomm sm8150 platform uses the qcom-cpufreq-hw driver, so
add it to the cpufreq-dt-platdev driver's blocklist.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Bjorn Andersson Aug. 4, 2021, 3:42 p.m. UTC | #1
On Wed 04 Aug 08:34 CDT 2021, Thara Gopinath wrote:

> The Qualcomm sm8150 platform uses the qcom-cpufreq-hw driver, so
> add it to the cpufreq-dt-platdev driver's blocklist.
> 

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
> ---
>  drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index 9d5a38a91f10..231e585f6ba2 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -141,6 +141,7 @@ static const struct of_device_id blocklist[] __initconst = {
>  	{ .compatible = "qcom,sc7280", },
>  	{ .compatible = "qcom,sc8180x", },
>  	{ .compatible = "qcom,sdm845", },
> +	{ .compatible = "qcom,sm8150", },
>  
>  	{ .compatible = "st,stih407", },
>  	{ .compatible = "st,stih410", },
> -- 
> 2.25.1
>
Trilok Soni Aug. 4, 2021, 6:15 p.m. UTC | #2
On 8/4/2021 8:42 AM, Bjorn Andersson wrote:
> On Wed 04 Aug 08:34 CDT 2021, Thara Gopinath wrote:
> 
>> The Qualcomm sm8150 platform uses the qcom-cpufreq-hw driver, so
>> add it to the cpufreq-dt-platdev driver's blocklist.

Thara, please use "blocklist" as well in your subject line of the patch.

---Trilok Soni
diff mbox series

Patch

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 9d5a38a91f10..231e585f6ba2 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -141,6 +141,7 @@  static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "qcom,sc7280", },
 	{ .compatible = "qcom,sc8180x", },
 	{ .compatible = "qcom,sdm845", },
+	{ .compatible = "qcom,sm8150", },
 
 	{ .compatible = "st,stih407", },
 	{ .compatible = "st,stih410", },