mirror of https://gitee.com/openkylin/linux.git
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:
parent
a22955e81a
commit
aef47f6c58
|
@ -3153,7 +3153,7 @@ static int coda_probe(struct platform_device *pdev)
|
|||
return irq;
|
||||
|
||||
ret = devm_request_irq(&pdev->dev, irq, coda_irq_handler, 0,
|
||||
dev_name(&pdev->dev), dev);
|
||||
CODA_NAME "-video", dev);
|
||||
if (ret < 0) {
|
||||
dev_err(&pdev->dev, "failed to request irq: %d\n", ret);
|
||||
return ret;
|
||||
|
@ -3167,7 +3167,7 @@ static int coda_probe(struct platform_device *pdev)
|
|||
|
||||
ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
|
||||
coda9_jpeg_irq_handler,
|
||||
IRQF_ONESHOT, CODA_NAME " jpeg",
|
||||
IRQF_ONESHOT, CODA_NAME "-jpeg",
|
||||
dev);
|
||||
if (ret < 0) {
|
||||
dev_err(&pdev->dev, "failed to request jpeg irq\n");
|
||||
|
|
Loading…
Reference in New Issue