This makes it possible to enter ddr self-refresh mode
when early suspend.
Change-Id: Ib72f391af00674a3c3ab32bbbd4e4a857d3354e8
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
return 0;
}
-static int rk3368_dmc_init(struct platform_device *pdev)
+static int rk3368_dmc_init(struct platform_device *pdev,
+ struct rockchip_dmcfreq *dmcfreq)
{
struct device *dev = &pdev->dev;
struct device_node *np = pdev->dev.of_node;
else
dev_dbg(dev, ("%s out\n"), __func__);
+ dmcfreq->set_auto_self_refresh = scpi_ddr_set_auto_self_refresh;
+
return 0;
}