This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/media_tree.git tree:
Subject: [media] coda: Return the real error on platform_get_irq() Author: Fabio Estevam <[email protected]> Date: Wed Jun 4 15:46:23 2014 -0300 No need to return a 'fake' return value on platform_get_irq() failure. Propagate the real error instead. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Philipp Zabel <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> drivers/media/platform/coda.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- http://git.linuxtv.org/media_tree.git?a=commitdiff;h=7d37743a3ef0980432cb4fdf8e3906c54d6fb1dd diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 18758e2..840402f 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@ -3770,7 +3770,7 @@ static int coda_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); if (irq < 0) { dev_err(&pdev->dev, "failed to get irq resource\n"); - return -ENOENT; + return irq; } if (devm_request_threaded_irq(&pdev->dev, irq, NULL, coda_irq_handler, _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
