OSDN Git Service

[media] vpif_display: fix error return code in vpif_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 May 2013 04:57:23 +0000 (01:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 May 2013 11:51:38 +0000 (08:51 -0300)
commitb2d2cf1015004209d6493f21b99788ded42eac11
treeed45fdb8ec302ae3925a216d46aa765243653f75
parent5dd6946c419a3a553842115665e142d1245fb837
[media] vpif_display: 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.

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/media/platform/davinci/vpif_display.c