diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-13 04:49:13 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-13 00:42:04 (GMT) |
commit | 6a2f18cf58a59ba7de2a5f912b12d9732702969c (patch) | |
tree | 96a940843ebc499af8e472fb886ca2a5db667592 /Documentation/devicetree/bindings/media | |
parent | d46a5a68b1690fc9f47d6b3e13ccef4e79a87e84 (diff) | |
download | linux-6a2f18cf58a59ba7de2a5f912b12d9732702969c.tar.xz |
[media] s5p-tv: fix error return code in mxr_acquire_video()
Fix to return a negative error code in the vb2_dma_contig_init_ctx()
error handling case instead of 0, as done elsewhere in this function.
Also vb2_dma_contig_init_ctx() return ERR_PTR() in case of error and
never return NULL, so use IS_ERR() replace IS_ERR_OR_NULL().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/devicetree/bindings/media')
0 files changed, 0 insertions, 0 deletions