commit | e276f03b4f29fcc54d8e658d5de8dd953e4aef1e | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Sun Dec 02 22:50:47 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Dec 21 14:22:30 2012 -0200 |
tree | d341ec9fc1a25fafabd77845f3a6d32de0b12805 | |
parent | 4d22f1086d24f61e271e1e84c0c27db4ad495e8f [diff] |
[media] media: davinci: vpbe: return error code on error in vpbe_display_g_crop() We have assigned error code to 'ret' if crop->type is not V4L2_BUF_TYPE_VIDEO_OUTPUT, but never use it. We'd better return the error code on this error. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Prabhakar Lad <prabhakar.lad@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>