upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:00 +0000 (11:48 +0900)
commit0bb764fec969ad087ef5f5b70fa73b8b2d502006
treeb691fdbf03ec2913f212c12084cfb66b413d84c4
parente55f32fc33d11f0123ca7a8716fa8fa0051aeb10
upstream: [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