Commit c1a02236 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Mauro Carvalho Chehab

media: sun6i-csi: Request a shared interrupt

Request our interrupt shared since it is typically shared with the isp
block. The interrupt routine looks good to go for shared irq.
Signed-off-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 4656d8ab
...@@ -247,8 +247,8 @@ static int sun6i_csi_resources_setup(struct sun6i_csi_device *csi_dev, ...@@ -247,8 +247,8 @@ static int sun6i_csi_resources_setup(struct sun6i_csi_device *csi_dev,
goto error_clock_rate_exclusive; goto error_clock_rate_exclusive;
} }
ret = devm_request_irq(dev, irq, sun6i_csi_interrupt, 0, SUN6I_CSI_NAME, ret = devm_request_irq(dev, irq, sun6i_csi_interrupt, IRQF_SHARED,
csi_dev); SUN6I_CSI_NAME, csi_dev);
if (ret) { if (ret) {
dev_err(dev, "failed to request interrupt\n"); dev_err(dev, "failed to request interrupt\n");
goto error_clock_rate_exclusive; goto error_clock_rate_exclusive;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment