projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786a782
)
drm/udl: fix error-path when damage-req fails
author
David Herrmann
<dh.herrmann@gmail.com>
Mon, 20 Jan 2014 18:52:29 +0000
(19:52 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Sun, 16 Mar 2014 11:11:01 +0000
(12:11 +0100)
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>
drivers/gpu/drm/udl/udl_fb.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/udl/udl_fb.c
b/drivers/gpu/drm/udl/udl_fb.c
index dbadd49e4c4a62bdd32c83473ad3751452e4033d..377176372da893e79b7c108b15cb73f18d8adb9a 100644
(file)
--- 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 unloc
k;
+
brea
k;
}
if (ufb->obj->base.import_attach) {