media: coda: Clarify interrupt registered name

Make interrupt naming more consistent by using a common
pattern for video and jpeg interrupts.

With this commit, interrupts are shown as:

29:          0          0       GPC  12 Level     coda-video
30:          0          0       GPC   3 Level     coda-jpeg

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Ezequiel Garcia 2020-10-07 12:35:42 +02:00 committed by Mauro Carvalho Chehab
parent a22955e81a
commit aef47f6c58
1 changed files with 2 additions and 2 deletions

View File

@ -3153,7 +3153,7 @@ static int coda_probe(struct platform_device *pdev)
return irq; return irq;
ret = devm_request_irq(&pdev->dev, irq, coda_irq_handler, 0, ret = devm_request_irq(&pdev->dev, irq, coda_irq_handler, 0,
dev_name(&pdev->dev), dev); CODA_NAME "-video", dev);
if (ret < 0) { if (ret < 0) {
dev_err(&pdev->dev, "failed to request irq: %d\n", ret); dev_err(&pdev->dev, "failed to request irq: %d\n", ret);
return ret; return ret;
@ -3167,7 +3167,7 @@ static int coda_probe(struct platform_device *pdev)
ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
coda9_jpeg_irq_handler, coda9_jpeg_irq_handler,
IRQF_ONESHOT, CODA_NAME " jpeg", IRQF_ONESHOT, CODA_NAME "-jpeg",
dev); dev);
if (ret < 0) { if (ret < 0) {
dev_err(&pdev->dev, "failed to request jpeg irq\n"); dev_err(&pdev->dev, "failed to request jpeg irq\n");