diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-09 23:32:39 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-10 13:37:20 +0200 |
commit | bf89209a6de37074e3ccdb7b40500798de750698 (patch) | |
tree | c375d6fe25018e6bd8dca172805821445899787f /drivers/gpu/drm/cirrus/cirrus_main.c | |
parent | 34c294f5a6c0dca7fb75ddc1be3ec8974b24455f (diff) |
drm/mga200g: Hold a proper reference for cursor_set
Looking up an obj, immediate dropping the acquired reference and then
continuing to use it isn't how this is supposed to work. Fix this by
holding a reference for the entire function.
While at it stop grabbing dev->struct_mutex, it doesn't protect
anything here.
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/cirrus/cirrus_main.c')
0 files changed, 0 insertions, 0 deletions