aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/coda.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-04-26 05:14:46 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 11:21:09 -0400
commit08a72e4c0a8086074f7a499306c45d33c50a8981 (patch)
tree96daea01db0544d5bc2533d0c8e5ce721cb85ac2 /drivers/media/platform/coda.c
parentb1c090d0f4afbb87340dcdd5084391098d2f279d (diff)
[media] media: coda: Use full device name for request_irq()
This will help to debug driver, allows us to see the full name of the device through /proc/interrupts. CPU0 ... 69: 0 mxc-avic 53 10023000.coda ... Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/coda.c')
-rw-r--r--drivers/media/platform/coda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
index d9b1a0409076..b1783791d426 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -3233,7 +3233,7 @@ static int coda_probe(struct platform_device *pdev)
3233 } 3233 }
3234 3234
3235 if (devm_request_threaded_irq(&pdev->dev, irq, NULL, coda_irq_handler, 3235 if (devm_request_threaded_irq(&pdev->dev, irq, NULL, coda_irq_handler,
3236 IRQF_ONESHOT, CODA_NAME, dev) < 0) { 3236 IRQF_ONESHOT, dev_name(&pdev->dev), dev) < 0) {
3237 dev_err(&pdev->dev, "failed to request irq\n"); 3237 dev_err(&pdev->dev, "failed to request irq\n");
3238 return -ENOENT; 3238 return -ENOENT;
3239 } 3239 }