Message ID | 20221103163113.245462-28-paul.kocialkowski@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp640306wru; Thu, 3 Nov 2022 09:38:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ggAVP/E+3vvPNozO/6cyGUh1dndK2v6/jCbiaW0rZN30LPhEuOVeNPaTtj6f3TbkJnJAC X-Received: by 2002:a05:6402:440c:b0:43a:1124:e56a with SMTP id y12-20020a056402440c00b0043a1124e56amr31874246eda.134.1667493493152; Thu, 03 Nov 2022 09:38:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667493493; cv=none; d=google.com; s=arc-20160816; b=UxsjF1T0CwSefWG7r7Pc5Oguqo/VHvFsFekrqBmW4rXobOJQ2fuNB36lTVUs7b+uXm r/tZcw2+msQ9uHp22xWE63tzzEABZXIXkazSCYbSUO4o2uTJxADQrSg3bJfqhJUSimnx YhslAvhyGbU4qYzl64qI7aAaCsocF6VGaXGAUViuw7cc4j0JWlOcNbcui0lrRMZAPSGk CcNkAiLMSUOfjB2cRKKtJh9Zen755VVppVWQBi1wWIDsNa2UVPoczWzd8vHXbhDLlsAT CS6q6JaWmp8h2WKgV/COPCiM84hsFWzeRT2MZ+ldxeUljxkzuZ6QMPq6NcsNf83s2UAC aa6A== 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=0pIjq7cv/w3kCEqoFSm0K7eHodbnGe7pMwLov1o/wy4=; b=YLyGJuRgE1ahWeWyuhOpRrVgF0odEN/PTcjXYREhW8Ekfy2UWMUrDhItj39XjUzinf fEBTyI2OLx35TRLDy3b99IotP6CRd8KRkPIUMFRDW5pJpAoLJX45lZm16H7Ay9L7kSDa OdV2XptQ1ewWdvZTC82zuQg6OcLR+hgt24EA7rgX66f4cbuvuWuYeEWuihJsvFTD4Sq4 Yq+keW62ech1j+a5t9kUBK9QSSjC3hlwT1SVnav2M2bH58Twe5nZ6kWOpVEBE3jwTiwa DAnguiAnNqzEIRFmu/Rw9MQfG/6u2GcO7E8yzqr8RF/mkkwK0ukum4YeMFcf72ZnKsji 5cqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=IyvfAxGu; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du12-20020a17090772cc00b0078bdbb52361si2034633ejc.209.2022.11.03.09.37.48; Thu, 03 Nov 2022 09:38:13 -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=IyvfAxGu; 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 S232003AbiKCQeJ (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Thu, 3 Nov 2022 12:34:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232289AbiKCQci (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Nov 2022 12:32:38 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 429A5C7B; Thu, 3 Nov 2022 09:32:24 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 98546240010; Thu, 3 Nov 2022 16:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667493143; 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=0pIjq7cv/w3kCEqoFSm0K7eHodbnGe7pMwLov1o/wy4=; b=IyvfAxGuXWnZ1ZlBMuws0G0MSqSPCVtBhbPQP2r8YFYVk+HFo1NkWBJTtrv4FdeDe/+Xcz /X+a3vnAPXmdofRa5gFtjnO2KjVRiUrVE9OpBWQwtg8IWlR684qG8JszZIlJ99QCxAcWD9 KLWDmrbOaFGAa2VcLUWy19Jm6/Hl/qzg4CJuK/n7kyXEOCIE7/ZuVJHb0Qyuk3xHOyOB3c kyJU8TV0PvN1EHyJCvSfR6/jgA+lCLlT7bJEW0NvuCr7UuBLmCvHXi0KzItmKma5gclDrn kIB8ShYLt9MQ4syknWzsjFNSeL/KIZ066mlhK2S2bdXTzyN0O8Ow5iwYaYKDcQ== From: Paul Kocialkowski <paul.kocialkowski@bootlin.com> 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 <yong.deng@magewell.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Maxime Ripard <mripard@kernel.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> Subject: [PATCH v7 27/28] media: sun6i-csi: Request a shared interrupt Date: Thu, 3 Nov 2022 17:31:12 +0100 Message-Id: <20221103163113.245462-28-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221103163113.245462-1-paul.kocialkowski@bootlin.com> References: <20221103163113.245462-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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748493657035583521?= X-GMAIL-MSGID: =?utf-8?q?1748493657035583521?= |
Series |
Allwinner A31/A83T MIPI CSI-2 and A31 ISP / CSI Rework
|
|
Commit Message
Paul Kocialkowski
Nov. 3, 2022, 4:31 p.m. UTC
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> --- 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;