Skip to content
Snippets Groups Projects
Commit 6c855f40 authored by Oliver Brown's avatar Oliver Brown
Browse files

MLK-25340-2: drm: imx: mhdp: Adding power off to driver remove


The power off needs to be called in remove to keep the correct clock
enable counts.

Signed-off-by: default avatarOliver Brown <oliver.brown@nxp.com>
parent e8a7398d
No related merge requests found
......@@ -584,6 +584,7 @@ static int __cdns_dp_probe(struct platform_device *pdev,
static void __cdns_dp_remove(struct cdns_mhdp_device *mhdp)
{
cdns_mhdp_plat_call(mhdp, power_off);
dp_aux_destroy(mhdp);
cdns_mhdp_unregister_audio_driver(mhdp->dev);
}
......
......@@ -663,6 +663,8 @@ static int __cdns_hdmi_probe(struct platform_device *pdev,
static void __cdns_hdmi_remove(struct cdns_mhdp_device *mhdp)
{
cdns_mhdp_plat_call(mhdp, power_off);
/* unregister cec driver */
#ifdef CONFIG_DRM_CDNS_HDMI_CEC
cdns_mhdp_unregister_cec_driver(mhdp->dev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment