]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfd28f47097b58ebc3f1708e9a201d9bbda43d899
treeed45fdb8ec302ae3925a216d46aa765243653f75
parent051e8421018e3db426a84aa14c34464784f9e522
[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