diff options
| author | Hsin-Yi Wang <[email protected]> | 2019-05-29 10:25:53 +0000 |
|---|---|---|
| committer | CK Hu <[email protected]> | 2019-06-04 01:28:35 +0000 |
| commit | f0fd848342802bc0f74620d387eead53e8905804 (patch) | |
| tree | ad05ddd4eae75c34e30863c1e6978d3b0aedb227 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | drm/mediatek: fix unbind functions (diff) | |
| download | kernel-f0fd848342802bc0f74620d387eead53e8905804.tar.gz kernel-f0fd848342802bc0f74620d387eead53e8905804.zip | |
drm/mediatek: unbind components in mtk_drm_unbind()
Unbinding components (i.e. mtk_dsi and mtk_disp_ovl/rdma/color) will
trigger master(mtk_drm)'s .unbind(), and currently mtk_drm's unbind
won't actually unbind components. During the next bind,
mtk_drm_kms_init() is called, and the components are added back.
.unbind() should call mtk_drm_kms_deinit() to unbind components.
And since component_master_del() in .remove() will trigger .unbind(),
which will also unregister device, it's fine to remove original functions
called here.
Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
Signed-off-by: Hsin-Yi Wang <[email protected]>
Signed-off-by: CK Hu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
