[media] davinci: vpfe: fix error return code in vpfe_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 10:51:21 +0000 (07:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 10:57:48 +0000 (07:57 -0300)
commit96f83b3f270aff148a1fa55f9a464e1bbadeadd4
tree19757827fd82d6e69b3e5712777b8435e46f6bfa
parent39e219d9292958460c3229df29995454414ce626
[media] davinci: vpfe: fix error return code in vpfe_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>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c