diff options
author | Sean Paul <seanpaul@chromium.org> | 2019-05-24 16:29:13 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2019-06-20 17:00:50 -0400 |
commit | 2aa31767259722d159e07240b0b8482a54223c2a (patch) | |
tree | a80727101b6b242a079362ea3132e4d4737906b9 /drivers/xen | |
parent | 03436e3ec69c8e026224a5f172e5d0431f722305 (diff) | |
download | linux-2aa31767259722d159e07240b0b8482a54223c2a.tar.bz2 |
drm/msm: Re-order uninit function to work during probe defer
If bind fails, we can call msm_drm_uninit before kms elements have been
created. In this case, drm_atomic_helper_shutdown will fail since there
are no drm objects. Only call drm unregistration and shutdown if drm is
registered.
Also while we're in here move the workqueue destruction to below
component_unbind since components could be actively using the wq during
uninit or in their unbind routine.
Reviewed-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190524202919.179289-1-sean@poorly.run
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions