Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp655427rwe; Fri, 26 Aug 2022 11:39:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR45x0oOQ1dZbwT0I5L0YPpxZb0LpItjB1IkLcZ9ytDiZFsB3MMEtCzzlTfCsMygTzBDdEMX X-Received: by 2002:a17:90b:4ac4:b0:1fb:4d99:1995 with SMTP id mh4-20020a17090b4ac400b001fb4d991995mr5644667pjb.142.1661539199529; Fri, 26 Aug 2022 11:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661539199; cv=none; d=google.com; s=arc-20160816; b=pz9J/nQVBByGSNPuetrZfn1U+wSXVv4aGTDyjxuSj1aXMHlSA/5AdeJIMMDQ47d27c ad0m9oUgl+yGVvUKXfD5xHAqVIm5+yeRTrcui0gxPmF6bCf3HUg2lWxMgD6YqvlNyvjS XtXErvxVNHACfs/i5F8+uXgnjt/kIHLkO8WC+69Z4DguCAzVTkrc5269nD9vRmrNplHc BeN64yCohDm5HBKXNNGdNF9m5+fEvAjUb6Z62SqA+UijSkMk4mxs1BDSm+47VJ4HG0XR 5hUAI7r4/aEwfVGPJS0aJm2CfIzl9Gn0hRdvEiXQgY8EGIU4Cv4a61EqdpcV/4FuQnDZ eRXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=urflQyA5XyLAG4jVPpqfcGeZo83/7banJtbDyX987Ns=; b=QKqF6QyOOEGzpG22v+R9eexr+K+lr0x7Tfp04P5cP3Zeg97X0McAGj9/ljtY1Ihkea ppCtzLP7jr/pMFmFpi8kR9u2JnNSWihhjhdIEbDhvfDM3mTmpcSTkBk5o+5xOJTeK2L+ BrkaRVE2cnS366RaiTFH8L5ZhCaimsFJ3OHL/bIosvxPwCD3Ot+xFmZKc+xwTe8vFX+U U1G6MdXNYouTEA6ycTShKgy6slBnOKeJbQy1eQKbgXRgnppnhE4ULWuoIe11t7zUPH4z NWmHgGzkDV+ikZxSSXKIHWKu93Jmv14qe7+WaF9u3cRaCaxoJ6Z1jvhWeGMhFbG4WTM1 4gpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=V47Edqi4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a056a0008cd00b00537a408a987si2426685pfu.65.2022.08.26.11.39.48; Fri, 26 Aug 2022 11:39:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=V47Edqi4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345236AbiHZShW (ORCPT + 99 others); Fri, 26 Aug 2022 14:37:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbiHZSeo (ORCPT ); Fri, 26 Aug 2022 14:34:44 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7294E68FD; Fri, 26 Aug 2022 11:33:54 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 30A4CFF808; Fri, 26 Aug 2022 18:33:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661538833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=urflQyA5XyLAG4jVPpqfcGeZo83/7banJtbDyX987Ns=; b=V47Edqi4ypBwZ49wxT0JnS2WGZkrgTKMiGf9OJRGibipGbmu8s0dMn/nwNDiZsCKrysnaf /2wPWh9kXsgSaWrpiy2Gm4SGB3q5ezJjMBBK2WBMko9zETcqG0JuHaHMsqZJ5AhYvk5cmR 3Xv97DmBx2YlHbTAPBQvwODwMoGYq/m8pRQeT/fqpGGn8C/TMKSlM0GRLR27zRTyDruycZ WhNsyiuLFE4FPkcDWhZU+IqF5YS9w48m4jaiHuDGH/A0qM2233PoL5qviJRDWKHWRl9FnE /pfvPVwsaHW0hl0zsYl21+tvsEq7bgYXUTeQBNqM6POv+L25Mhoi4c3lw52C5A== From: Paul Kocialkowski To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Cc: Yong Deng , Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Laurent Pinchart , Maxime Ripard , Thomas Petazzoni Subject: [PATCH v6 42/43] media: sun6i-csi: Request a shared interrupt Date: Fri, 26 Aug 2022 20:32:39 +0200 Message-Id: <20220826183240.604834-43-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220826183240.604834-1-paul.kocialkowski@bootlin.com> References: <20220826183240.604834-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Jernej Skrabec --- drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c | 4 ++-- 1 file 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 46c5f98702e1..00521f966cee 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c @@ -248,8 +248,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; -- 2.37.1