Message ID | 20230721210042.21535-4-duje.mihanovic@skole.hr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp469779vqg; Fri, 21 Jul 2023 14:19:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlHFAvXweiy4Gnhq+KUq7YDrD1gcK3FYXoJBEq2iwNjPqi4zY083hZlxGhyzfQv89hbiQOAt X-Received: by 2002:a19:4f54:0:b0:4f8:65ef:afcd with SMTP id a20-20020a194f54000000b004f865efafcdmr2028379lfk.17.1689974340504; Fri, 21 Jul 2023 14:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689974340; cv=none; d=google.com; s=arc-20160816; b=Ja5v89GY/vgfG4DG0fx38MyooShff9TovWw4Qa4tl3uujhDKweVkOv5Uc3+Gfs73lk X7Z2s1u+dLMMQTmGGjGpcEjn77p36IOdMUfLEv4C2zP6HX6FfoUxfOonGu5zEEIDjZSY kZ5kInnjllefVH7MJAnXos8/Z2pAD8jdiMVYVlmRk+objejoiaviVigzkdQ7XDClr+LU nK998jOsULBRZ4I2/iEllJWLauOpU9tmC6/gtGtlIINw+j9vAKKi3/7HcfY7VrJdRCRD Un3VzaxPxKGIoJ5UJ51cg4YvF1n5jJHJrticdyXTK4vpeP/b7g/rmz8bRa7IQCTRwaOQ K18g== 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; bh=MqqrokDCcJRq7WqiFjaB30QQAUeL5m6yDxg4HY2j0vI=; fh=/eTNpnw2EeTHjhijYum+630E555qx72OsXXBJXWDNVo=; b=wcaLBwOLEsl9tGyozkbH+mOBWoxBo1q22RmDnpeQk3R8eqx+VZGS6YxJp4M4qG9g25 U6ojaVVfUNGWY+ejiZ0ptWocrh2IOoVuUPHN1zgyiwORDhiqBZ+wyonEkoryMSXgFjsf UUNzQoCGVFXC9d5xvm3eOHsscDnuahE9vtP+YiVQlLLXXh6s2h1TTtn3Zjl29mYf7qxP L4CFbL40aCEEA+uQkktWhjvfVI2HkoMN/610wqMkY8PGf9HGMzXH3Xc7wuUHV9DPV/We ISdg+W8fvgDU7FEldZm4DyVg1I5CXtuwzr2kYg9YPPc/E0GTUV3F1zl/racjW0+SRgct Tf+A== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c1-20020aa7c981000000b0051be93a4395si2757831edt.52.2023.07.21.14.18.34; Fri, 21 Jul 2023 14:19:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230223AbjGUVML (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Fri, 21 Jul 2023 17:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbjGUVMD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Jul 2023 17:12:03 -0400 X-Greylist: delayed 344 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 21 Jul 2023 14:11:57 PDT Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D26E359C; Fri, 21 Jul 2023 14:11:57 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 8B8B486D1B; Fri, 21 Jul 2023 23:06:11 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= <duje.mihanovic@skole.hr> To: Robert Jarzmik <robert.jarzmik@free.fr>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.com, =?utf-8?q?Duje_Mihanovi=C4=87?= <duje.mihanovic@skole.hr> Subject: [PATCH 03/10] gpio: pxa: make pxa_gpio_has_pinctrl return false for MMP_GPIO Date: Fri, 21 Jul 2023 22:37:45 +0200 Message-ID: <20230721210042.21535-4-duje.mihanovic@skole.hr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230721210042.21535-1-duje.mihanovic@skole.hr> References: <20230721210042.21535-1-duje.mihanovic@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772066533959936523 X-GMAIL-MSGID: 1772066533959936523 |
Series |
Initial Marvell PXA1908 support
|
|
Commit Message
Duje Mihanović
July 21, 2023, 8:37 p.m. UTC
Fixes the incorrect assumption that mmp-gpio needs a pinctrl handle,
causing devices consuming GPIO to be indefinitely deferred.
Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
---
drivers/gpio/gpio-pxa.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Fri, Jul 21, 2023 at 10:37:45PM +0200, Duje Mihanović wrote: > Fixes the incorrect assumption that mmp-gpio needs a pinctrl handle, > causing devices consuming GPIO to be indefinitely deferred. If this is a fix, add the Fixes tag and locate it closer to the beginning of the series, so it may be backported with an ease.
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 076ee6dff4d5..b48d142b736d 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -238,6 +238,7 @@ static bool pxa_gpio_has_pinctrl(void) switch (gpio_type) { case PXA3XX_GPIO: case MMP2_GPIO: + case MMP_GPIO: return false; default: