@@ -468,6 +468,11 @@ static int rockchip_dp_remove(struct platform_device *pdev)
return 0;
}
+static void rockchip_dp_shutdown(struct platform_device *pdev)
+{
+ analogix_dp_shutdown(&pdev->dev);
+}
+
static const struct dev_pm_ops rockchip_dp_pm_ops = {
#ifdef CONFIG_PM_SLEEP
.suspend = analogix_dp_suspend,
@@ -499,6 +504,7 @@ MODULE_DEVICE_TABLE(of, rockchip_dp_dt_ids);
static struct platform_driver rockchip_dp_driver = {
.probe = rockchip_dp_probe,
.remove = rockchip_dp_remove,
+ .shutdown = rockchip_dp_shutdown,
.driver = {
.name = "rockchip-dp",
.pm = &rockchip_dp_pm_ops,