From patchwork Mon Apr 18 11:32:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 66017 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1229388qge; Mon, 18 Apr 2016 04:33:00 -0700 (PDT) X-Received: by 10.98.15.145 with SMTP id 17mr48214207pfp.19.1460979179924; Mon, 18 Apr 2016 04:32:59 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ul1si5036540pab.19.2016.04.18.04.32.59; Mon, 18 Apr 2016 04:32:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752971AbcDRLc6 (ORCPT + 4 others); Mon, 18 Apr 2016 07:32:58 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:34487 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752158AbcDRLc4 (ORCPT ); Mon, 18 Apr 2016 07:32:56 -0400 Received: by mail-lf0-f49.google.com with SMTP id j11so212671083lfb.1 for ; Mon, 18 Apr 2016 04:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=o30n/lvcCrQCq/RUhrhfic5v/vxAOOuWF1Oy4rkETc0=; b=bDeg685MKII6V84n/Tna0Yck4RZrHgHD9Q+w94WzaV81dYVsH2PA4w36ndG+n1zsfr dZHewTUOdyK//hP/OHqQjtFgNmVqWkq757n21BY1jLNkUi6ciwKr/f3jULy3Yv0RtwtP Lx+HqzqidI5p01wg5YsUgX6GQFEcMgyzI9aTg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=o30n/lvcCrQCq/RUhrhfic5v/vxAOOuWF1Oy4rkETc0=; b=g3NO19Ewr7BVgRNtyXPWA7gwJD16Uch3WlJgWbM3B5I5n3G1+0U6VG4VP9WAFIOOOl K7EMvNQcOAe9lTXys8WDn0ouksjVLpD2UOKeY8/Kj6eFSEDQQUO7NiMZresm1X6YN0aV 3L/P8Io6CPaBU0uqjtBvnv9WBFrNAzUT+A3z9/JRYuQP4qypSGyzyGQ+i6uMSygYNBxC IUFhPfISMEsMeRe7jP5YXW2uvbEmNa3Kc+GPYhPouZw/cihEowSCEynfWjt+0+Lyg1R2 0vdD3lgKqhffF7WRiBXRqTdOUhGIQ99X+g4EEzmvlQ1x6k+1m5qis2PoEbsaxd8EvCya AW5A== X-Gm-Message-State: AOPr4FUXYwO6NG3GSOjb3dlys3b4E/bO+rx8TENZ3zYG4VglVmhBNMuY7mleB9lLF2RdTGDu X-Received: by 10.25.161.75 with SMTP id k72mr14791023lfe.86.1460979174760; Mon, 18 Apr 2016 04:32:54 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id zu6sm9656902lbb.16.2016.04.18.04.32.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Apr 2016 04:32:53 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij Subject: [PATCH] gpio: f7188x: fix edit mistake Date: Mon, 18 Apr 2016 13:32:49 +0200 Message-Id: <1460979169-14368-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fix a typo causing a build regression. Fixes: f90c6bdb690b ("gpio: f7188x: use the new open drain callback") Reported-by: Stephen Rothwell Signed-off-by: Linus Walleij --- drivers/gpio/gpio-f7188x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c index 58674ff75097..05aa538c3767 100644 --- a/drivers/gpio/gpio-f7188x.c +++ b/drivers/gpio/gpio-f7188x.c @@ -328,7 +328,7 @@ static int f7188x_gpio_set_single_ended(struct gpio_chip *chip, data &= ~BIT(offset); else data |= BIT(offset); - superio_outb(sio->addr, gpio_data_mode(bank->regbase), data); + superio_outb(sio->addr, gpio_out_mode(bank->regbase), data); superio_exit(sio->addr); return 0;