drm/msm/dsi: fix direct caller of msm_gem_free_object()
authorRob Clark <robdclark@gmail.com>
Wed, 14 Feb 2018 16:14:23 +0000 (11:14 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 19 Mar 2018 10:33:36 +0000 (06:33 -0400)
commitd71b6bd80d96f15f4ae393d3bec0636c960e289a
tree90a6b55811c7f5d21833f94dd4ff900d23890809
parent94c3e78d873f02379b2a7a7e4cfb020fd81f1bb7
drm/msm/dsi: fix direct caller of msm_gem_free_object()

This should be using drm_gem_object_put().  Also since this is done only
in driver unload path, we don't need to synchronize setting tx_gem_obj
to NULL, so juse use the _unlocked() variant.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c
drivers/gpu/drm/msm/msm_gem.c