Re: [PATCH 11/11] PM / devfreq: imx8m-ddrc: drop polling_ms

From: Chanwoo Choi
Date: Tue Mar 09 2021 - 11:23:54 EST


On 21. 3. 9. 오후 9:58, Dong Aisheng wrote:
polling_ms is only used by simple ondemand governor which
this driver can't support. Drop it to avoid confusing.

Signed-off-by: Dong Aisheng <aisheng.dong@xxxxxxx>
---
drivers/devfreq/imx8m-ddrc.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index 0a6b7a1c829d..ecb9375aa877 100644
--- a/drivers/devfreq/imx8m-ddrc.c
+++ b/drivers/devfreq/imx8m-ddrc.c
@@ -417,7 +417,6 @@ static int imx8m_ddrc_probe(struct platform_device *pdev)
if (ret < 0)
goto err;
- priv->profile.polling_ms = 1000;
priv->profile.target = imx8m_ddrc_target;
priv->profile.exit = imx8m_ddrc_exit;
priv->profile.get_cur_freq = imx8m_ddrc_get_cur_freq;


You can squash this patch with patch10 because polling_ms
is related to .get_dev_status.

--
Best Regards,
Samsung Electronics
Chanwoo Choi