diff options
author | 2022-11-03 16:31:12 +0000 | |
---|---|---|
committer | 2022-11-25 07:18:18 +0000 | |
commit | c1a022366feb066fdd21e4cd26395aa7e898c498 (patch) | |
tree | 9a3a34edaaa055e3669eb9ec4b69f1f891d6bf7e /drivers/media/platform/sunxi | |
parent | media: sun6i-csi: Add extra checks to the interrupt routine (diff) | |
download | linux-c1a022366feb066fdd21e4cd26395aa7e898c498.tar.gz linux-c1a022366feb066fdd21e4cd26395aa7e898c498.tar.bz2 linux-c1a022366feb066fdd21e4cd26395aa7e898c498.zip |
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: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/sunxi')
-rw-r--r-- | drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c index b9199945d6fe..6d3508ae6e87 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c @@ -247,8 +247,8 @@ static int sun6i_csi_resources_setup(struct sun6i_csi_device *csi_dev, goto error_clock_rate_exclusive; } - ret = devm_request_irq(dev, irq, sun6i_csi_interrupt, 0, SUN6I_CSI_NAME, - csi_dev); + ret = devm_request_irq(dev, irq, sun6i_csi_interrupt, IRQF_SHARED, + SUN6I_CSI_NAME, csi_dev); if (ret) { dev_err(dev, "failed to request interrupt\n"); goto error_clock_rate_exclusive; |