[media] davinci: vpif_capture: fix error return code in vpif_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 2 Sep 2013 08:06:10 +0000 (05:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 3 Oct 2013 17:04:35 +0000 (14:04 -0300)
commit2fcd9dc3114506c82744c581e0a4e7fcb5b28f08
treeba5fcfcb60ef35cd45c4aac35e4be62be0c80c8d
parentd10e8280c4c2513d3e7350c27d8e6f0fa03a5f71
[media] davinci: vpif_capture: fix error return code in vpif_probe()

Fix to return -ENODEV in the subdevice register error handling.

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