]> Pileus Git - ~andy/linux/commit
[media] davinci: vpif_capture: fix error return code in vpif_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 23 Aug 2013 02:00:01 +0000 (23:00 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 26 Aug 2013 10:54:47 +0000 (07:54 -0300)
commit43054ecced8ae77c805470447d72da4fdc276e02
tree31055a61b40808db8d544b96ed3d30126f416d8f
parent9d3e976bb1ea736b6154fafac4957b85360dad93
[media] davinci: vpif_capture: fix error return code in vpif_probe()

Fix to return -ENODEV in the subdevice register error handling
case instead of 0, as done elsewhere in this function.
Introduced by commit 873229e4fdf34196aa5d707957c59ba54c25eaba
([media] media: davinci: vpif: capture: add V4L2-async support)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpif_capture.c