diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-01-20 18:52:29 (GMT) |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-03-16 11:11:01 (GMT) |
commit | 06c99161b66d36b0345c443bd0934cfc3f4d7f54 (patch) | |
tree | 521ea5eb45f47ccb7efac2e3f221f7b7c5475389 /drivers/gpu/drm/udl | |
parent | 786a7828bc74b9b1466e83abb200b75f80f94121 (diff) | |
download | linux-06c99161b66d36b0345c443bd0934cfc3f4d7f54.tar.xz |
drm/udl: fix error-path when damage-req fails
We need to call dma_buf_end_cpu_access() in case a damage-request.
Unlikely, but might happen during device unplug.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/udl')
-rw-r--r-- | drivers/gpu/drm/udl/udl_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c index dbadd49..3771763 100644 --- a/drivers/gpu/drm/udl/udl_fb.c +++ b/drivers/gpu/drm/udl/udl_fb.c @@ -421,7 +421,7 @@ static int udl_user_framebuffer_dirty(struct drm_framebuffer *fb, clips[i].x2 - clips[i].x1, clips[i].y2 - clips[i].y1); if (ret) - goto unlock; + break; } if (ufb->obj->base.import_attach) { |