[media] v4l: ti-vpe: fix error return code in vpe_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 03:10:45 +0000 (00:10 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 10 Dec 2013 08:35:14 +0000 (06:35 -0200)
commit6676cafe6bb69898cdb94937651249d0999e4b59
tree811847f5068dc922791a80fb4dc61974d1e0e672
parent903cbb83d22a4c22acb48c2ed2580cc0bffaa772
[media] v4l: ti-vpe: fix error return code in vpe_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Archit Taneja <archit@ti.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/ti-vpe/vpe.c