diff options
author | 2021-08-10 12:01:48 +0800 | |
---|---|---|
committer | 2021-08-12 07:00:50 +0800 | |
commit | da4d4517ba70216799e3eb3b9bd71aa9dca065da (patch) | |
tree | b74aa263c235b2a11ef57204bf1c5477c250b248 /drivers/gpu/drm/mediatek/mtk_disp_color.c | |
parent | drm/mediatek: Add AAL output size configuration (diff) | |
download | wireguard-linux-da4d4517ba70216799e3eb3b9bd71aa9dca065da.tar.xz wireguard-linux-da4d4517ba70216799e3eb3b9bd71aa9dca065da.zip |
drm/mediatek: Add component_del in OVL and COLOR remove function
Add component_del in OVL and COLOR remove function.
Fixes: ff1395609e20 ("drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver")
Signed-off-by: jason-jh.lin <jason-jh.lin@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_disp_color.c')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_disp_color.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_disp_color.c b/drivers/gpu/drm/mediatek/mtk_disp_color.c index 6f4c80bbc0eb..473f5bb5cbad 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_color.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_color.c @@ -133,6 +133,8 @@ static int mtk_disp_color_probe(struct platform_device *pdev) static int mtk_disp_color_remove(struct platform_device *pdev) { + component_del(&pdev->dev, &mtk_disp_color_component_ops); + return 0; } |