drm/msm: set priv->kms to NULL before uninit
authorJonathan Marek <jonathan@marek.ca>
Thu, 22 Nov 2018 01:52:35 +0000 (20:52 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:07:07 +0000 (13:07 -0500)
commitb2ccfdf1dde588d0e90d6d235b9ae557cbea5d4d
tree46da9601d3897ca40b72252c8b13f90cc07d9ac9
parenta5cd7b55dfac41a45432de0bf261f8b92c43c3fa
drm/msm: set priv->kms to NULL before uninit

otherwise, priv->kms is non-NULL and msm_drm_uninit will cause a panic.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c