[media] ad9389b: fix error return code in ad9389b_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 May 2013 05:00:10 +0000 (02:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 May 2013 11:51:41 +0000 (08:51 -0300)
commit6ec735df78c63c3623c76e75a975390f60ae0640
tree040d09d17df637bfd72a4e86075903917f0fc7eb
parent4fa94e224b84be7b2522a0f5ce5b64124f146fac
[media] ad9389b: fix error return code in ad9389b_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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/ad9389b.c