@@ -1665,6 +1665,15 @@ void analogix_dp_unbind(struct device *dev, struct device *master,
}
EXPORT_SYMBOL_GPL(analogix_dp_unbind);
+void analogix_dp_shutdown(struct device *dev)
+{
+ struct analogix_dp_device *dp = dev_get_drvdata(dev);
+
+ if (dp->plat_data->cleanup)
+ dp->plat_data->cleanup(dp->plat_data);
+}
+EXPORT_SYMBOL_GPL(analogix_dp_shutdown);
+
#ifdef CONFIG_PM
int analogix_dp_suspend(struct device *dev)
{
@@ -49,6 +49,7 @@ int analogix_dp_suspend(struct device *dev);
int analogix_dp_bind(struct device *dev, struct drm_device *drm_dev,
struct analogix_dp_plat_data *plat_data);
void analogix_dp_unbind(struct device *dev, struct device *master, void *data);
+void analogix_dp_shutdown(struct device *dev);
int analogix_dp_start_crc(struct drm_connector *connector);
int analogix_dp_stop_crc(struct drm_connector *connector);