Message ID | 1608755245-18069-2-git-send-email-stefan.wahren@i2se.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=B3uV=F3=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DEDDC433E0 for <linux-arm-kernel@archiver.kernel.org>; Wed, 23 Dec 2020 20:29:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 38E7C221F5 for <linux-arm-kernel@archiver.kernel.org>; Wed, 23 Dec 2020 20:29:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 38E7C221F5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=i2se.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ajUW2g4lew4wDcV/kLpml+wDB3i6zGNiANfAQbggaVE=; b=rDbhrqEPUbgYhQdEepoSO/f00a 9yJ96LjbwAYJCKD8m1cKAvTXtBpL/B2BRoFiVEu/MSWWVGTS2lr+YC2yGg/9EP4r/uizp/pldRbEc oYK+9SIPVrGSNAQ2Q0mpcVHaeYBzIBPDThs8SoAntSzVo7XF3g/Q2lDXmZlVqKo+JpnAfVn3abJeB hyow92OVoYQ1Tna2T6V65+m3B4+gZQ4MHnB6lsvYrqVn1SQdnGxxeNjFmrw0EKE9RfxGjQM8PT3ck 1RoGjZH7007jqs3uudV56hrEdZLsGObkm3UT9mXtaEOEbTGvtal5abqozq0ob10hY89eZcIwZSDV8 hRGRaK6g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ksAjv-0006Vd-7G; Wed, 23 Dec 2020 20:28:07 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ksAjp-0006Tt-Hq for linux-arm-kernel@lists.infradead.org; Wed, 23 Dec 2020 20:28:02 +0000 Received: from localhost.localdomain ([37.4.249.194]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N6svJ-1jzMda1QVT-018INl; Wed, 23 Dec 2020 21:27:53 +0100 From: Stefan Wahren <stefan.wahren@i2se.com> To: Eric Anholt <eric@anholt.net>, Maxime Ripard <mripard@kernel.org>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Subject: [PATCH 1/4] drm/v3d: Use platform_get_irq_optional() to get optional IRQs Date: Wed, 23 Dec 2020 21:27:22 +0100 Message-Id: <1608755245-18069-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1608755245-18069-1-git-send-email-stefan.wahren@i2se.com> References: <1608755245-18069-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:UmY82BR7rIwpmorUyFeWjROyE6WY47qOwlB8r+JVH4RCPmQCUcf /JAGJRQ1tV8xmoYrFUuafXTqdVrjQ9cCxvPb4ZSUL/Mq42AN8lqRPE4Sx65leZXNTl+2pbu QQmcwUxOscziTZqGaYEjMAodD1vdQ6GbqkTIBJKxxQGAzh55CkCcFgPE9TsM90GsXXxo0KW SehPGRQ+7K4fvJFfyJReg== X-UI-Out-Filterresults: notjunk:1;V03:K0:YpfT4Hbc914=:vzmdHssbJr5JSEhdeJHnM3 PvEO9/QH1pUQ9Pe/xXra0Ojd1XPu/bPXF0ua4n8X4PvsgAMv1QRdd8Oy++HRU7c5Y80o9oI8p CnWvWT92nKFGy3Ko+Gf78lQgTgLOGx6A2nqgBCQ+YZhasOQiolVi58sEgPw0drfZkut2QUoDz WQH8TZqc5SLA7cfRNiVTyFI8qPZqUnGGSCXUL3YeaFf0Sou7SdeILH7bvmvfac8QZpuffq9hy pNE2AidnNuUtUNrdPz4lEefGglvJBfUNlAFp6rJyVrOSPJVrQaIuh97Hm3gu9eI9haQmMNiVF L7kMCxKjofSbAkmIbwr0AXfanvhWfDMmqDReZtP759lnhagJs52yFfs0ivn1MjZ0tti6pZeK9 xi1N9//gqZlosRMN9zQtKIJd3ZDHTPpb7odrOGNZFzyfe6+qse0DTHNxWELfhGptzs0m1Wqp5 jVE89yAs8A== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201223_152801_806137_4A82CFD5 X-CRM114-Status: GOOD ( 15.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
drm/v3d: Minor improvements
|
expand
|
diff --git a/drivers/gpu/drm/v3d/v3d_irq.c b/drivers/gpu/drm/v3d/v3d_irq.c index c886864..0be2eb7 100644 --- a/drivers/gpu/drm/v3d/v3d_irq.c +++ b/drivers/gpu/drm/v3d/v3d_irq.c @@ -217,7 +217,7 @@ v3d_irq_init(struct v3d_dev *v3d) V3D_CORE_WRITE(core, V3D_CTL_INT_CLR, V3D_CORE_IRQS); V3D_WRITE(V3D_HUB_INT_CLR, V3D_HUB_IRQS); - irq1 = platform_get_irq(v3d_to_pdev(v3d), 1); + irq1 = platform_get_irq_optional(v3d_to_pdev(v3d), 1); if (irq1 == -EPROBE_DEFER) return irq1; if (irq1 > 0) {