Message ID | 20201111222008.39993-10-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-gpio-owner@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CWfLs69kjz9sTK for <incoming@patchwork.ozlabs.org>; Thu, 12 Nov 2020 09:20:37 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727137AbgKKWUg (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Wed, 11 Nov 2020 17:20:36 -0500 Received: from mga02.intel.com ([134.134.136.20]:2004 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbgKKWUf (ORCPT <rfc822;linux-gpio@vger.kernel.org>); Wed, 11 Nov 2020 17:20:35 -0500 IronPort-SDR: h0w5mYO0FJkYuZ4VM9ZAeKbEFM6zDsc11tzeK5YXj7yLBaMmIduJCZ19EjsRESFsOU6n1Sg55j IsJKwbwStgaQ== X-IronPort-AV: E=McAfee;i="6000,8403,9802"; a="157242718" X-IronPort-AV: E=Sophos;i="5.77,470,1596524400"; d="scan'208";a="157242718" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 14:20:33 -0800 IronPort-SDR: /Snd0/vVlR/vM0MiLY7rSG1vtAvmh477ZDwlckv269kqmKygwmLhdQhqypdsAxEsdKhhURRybA +d2CBmd0yuPQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,470,1596524400"; d="scan'208";a="428948320" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 11 Nov 2020 14:20:31 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id BE6C54D4; Thu, 12 Nov 2020 00:20:27 +0200 (EET) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <bgolaszewski@baylibre.com>, linux-gpio@vger.kernel.org Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Hans de Goede <hdegoede@redhat.com>, Mika Westerberg <mika.westerberg@linux.intel.com> Subject: [PATCH v7 09/18] gpiolib: acpi: Use named item for enum gpiod_flags variable Date: Thu, 12 Nov 2020 00:19:59 +0200 Message-Id: <20201111222008.39993-10-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201111222008.39993-1-andriy.shevchenko@linux.intel.com> References: <20201111222008.39993-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
gpiolib: acpi: pin configuration fixes
|
expand
|
diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c index 3a39e8a93226..c127b410a7a2 100644 --- a/drivers/gpio/gpiolib-acpi.c +++ b/drivers/gpio/gpiolib-acpi.c @@ -1136,7 +1136,7 @@ acpi_gpiochip_parse_own_gpio(struct acpi_gpio_chip *achip, int ret; *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; - *dflags = 0; + *dflags = GPIOD_ASIS; *name = NULL; ret = fwnode_property_read_u32_array(fwnode, "gpios", gpios,