commit | b720d54a5caf077011f0dc6ba7792866d2828d16 | [log] [tgz] |
---|---|---|
author | YoungJun Cho <yj44.cho@samsung.com> | Mon Jun 24 15:34:21 2013 +0900 |
committer | Dave Airlie <airlied@redhat.com> | Fri Jun 28 12:45:11 2013 +1000 |
tree | 9ffabea64b3267066097b5713611c96b074704c7 | |
parent | 2e07fb229396f99fc173d8612f0f83ea9de0341b [diff] |
drm/prime: fix to check return of dma_map_sg in prime helper The dma_map_sg(), in map_dma_buf callback operation of prime helper, can return 0 when it fails to map, so it needs to release related resources. Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>