It may disable vop_crtc when scaling frequency, in this case,
devfreq thread will wait for vop line flag indefinitely, the
system will crash.
Change-Id: I7043b285c329ff23e2fc9c5b5f3a165c37ef6378
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
data->dev = dev;
platform_set_drvdata(pdev, data);
+ if (rockchip_drm_register_notifier_to_dmc(data->devfreq))
+ dev_err(dev, "drm fail to register notifier to dmc\n");
+
if (rockchip_pm_register_notify_to_dmc(data->devfreq))
dev_err(dev, "pd fail to register notify to dmc\n");