[media] s5p-mfc: fix error return code in s5p_mfc_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 18 Apr 2013 02:18:19 +0000 (23:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:37:24 +0000 (09:37 -0300)
commitd68b44e088caf0176cf80e7539750569d6e71ed8
treea1247e8ddf44b604b9ed7520b898b51f5548f3c8
parentb34f51fad396484e2bc102dcf95807b9990c3265
[media] s5p-mfc: fix error return code in s5p_mfc_probe()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c