From patchwork Sat Dec 15 11:54:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1013878 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="VqmXn7eO"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43H5V73QvDz9s3Z for ; Sat, 15 Dec 2018 22:56:15 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729747AbeLOL4N (ORCPT ); Sat, 15 Dec 2018 06:56:13 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:42757 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729029AbeLOL4N (ORCPT ); Sat, 15 Dec 2018 06:56:13 -0500 Received: by mail-lj1-f196.google.com with SMTP id l15-v6so7106356lja.9 for ; Sat, 15 Dec 2018 03:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6tVqV3+J8c4OZEvOZU3avQI+a+7I9zV5XXgcp47rjb4=; b=VqmXn7eOJUQ5lBuiAllO4dbldABwO3UcFWaiPz/Pvj6jDFbJwZi3jBLoyM254pEV9C /o5TnzLTqD/zU5Y62GF5x0hklAh2sxX0CM8PNWpR6F9IGlsLyNLDzMTw/9e39e/qO0hA 9KPI2O5ITccjJGgwTuDhItA8c9c3RCnF+2IJY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6tVqV3+J8c4OZEvOZU3avQI+a+7I9zV5XXgcp47rjb4=; b=cyQpN5j0m6Qu2WZziO7RFaCXXHq7DFKCXS8XpRg22eEV99oM7q4di36KVn5Dq32eUa NFe8XuoqapLq33WAOcoHdJTt8oa9QK5eGwEGQkMGgWXLXRh1VdVBHaTQ5M5yqLo3vfmE 6Bw96nJItgcHj/Na9Ktyx+5LJKh8DrZ84MERmMZBeZ75YbONrkBWGEqmoeuC4px8TFKn B0XaYqO5JQjPWGc3z5RaY7YjgWoCiZpUdEcnpqmleI8ewdsFzP86+na+IyNtRrxQUGxC 37Tnl+LlgZaTl6LiAkB5cme/5XUERHSGe5s79ufTZ3w/qdo2di5ImnJ64InvehrtudSX e+rA== X-Gm-Message-State: AA+aEWa2sCwNemTRJd/l5vC/N8/kVArCR8enMaxK+s2mQCK4ejgibjFS 3hyCNApvSmLa84So38TtKjwHezyzzkHjrQ== X-Google-Smtp-Source: AFSGD/W2v4OzwiLSuw1BLB2dHlhJA19JALVrhFI43BDVIrrQCZ/AgxMqGw4UzqHxTS/dcMXl4jt7Xw== X-Received: by 2002:a2e:9f0b:: with SMTP id u11-v6mr14738ljk.99.1544874970770; Sat, 15 Dec 2018 03:56:10 -0800 (PST) Received: from localhost.localdomain (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id e5-v6sm1325692ljj.91.2018.12.15.03.56.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 15 Dec 2018 03:56:09 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Janusz Krzysztofik , Tony Lindgren Subject: [PATCH] ARM: omap1: Fix new user of gpiochip_request_own_desc() Date: Sat, 15 Dec 2018 12:54:07 +0100 Message-Id: <20181215115407.22137-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This fixes up a new user of gpiochip_request_own_desc() in the AMS Delta board that appeared after the patch that was applied recently. Cc: Janusz Krzysztofik Cc: Tony Lindgren Fixes: 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()") Signed-off-by: Linus Walleij Acked-by: Tony Lindgren --- arch/arm/mach-omap1/board-ams-delta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index 6719e139eb62..b53ff6399d31 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@ -603,7 +603,7 @@ static void __init modem_assign_irq(struct gpio_chip *chip) struct gpio_desc *gpiod; gpiod = gpiochip_request_own_desc(chip, AMS_DELTA_GPIO_PIN_MODEM_IRQ, - "modem_irq"); + "modem_irq", 0); if (IS_ERR(gpiod)) { pr_err("%s: modem IRQ GPIO request failed (%ld)\n", __func__, PTR_ERR(gpiod));