[media] staging: davinci_vpfe: fix error check
The check would check the pointer, which is never less than 0. According to the error message, the correct check would be to check the return value of ipipe_mode. Check that instead. Reported-by: NDavid Binderman <dcb314@hotmail.com> Signed-off-by: NLevente Kurusa <levex@linux.com> Reviewed-by: NJosh Triplett <josh@joshtriplett.org> Signed-off-by: NLad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
Showing
想要评论请 注册 或 登录