drm/udl: fix error-path when damage-req fails
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 20 Jan 2014 18:52:29 +0000 (19:52 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 16 Mar 2014 11:11:01 +0000 (12:11 +0100)
commit06c99161b66d36b0345c443bd0934cfc3f4d7f54
tree521ea5eb45f47ccb7efac2e3f221f7b7c5475389
parent786a7828bc74b9b1466e83abb200b75f80f94121
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>
drivers/gpu/drm/udl/udl_fb.c