Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752630AbcLGArp (ORCPT ); Tue, 6 Dec 2016 19:47:45 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:34951 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751418AbcLGArn (ORCPT ); Tue, 6 Dec 2016 19:47:43 -0500 From: Kevin Hilman To: Neil Armstrong Cc: linus.walleij@linaro.org, carlo@caione.org, linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Beniamino Galvani Subject: Re: [PATCH] pinctrl: meson: fix gpio request disabling other modes Organization: BayLibre References: <20161206140817.11708-1-narmstrong@baylibre.com> Date: Tue, 06 Dec 2016 16:47:41 -0800 In-Reply-To: <20161206140817.11708-1-narmstrong@baylibre.com> (Neil Armstrong's message of "Tue, 6 Dec 2016 15:08:16 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 513 Lines: 12 Neil Armstrong writes: > The pinctrl_gpio_request is called with the "full" gpio number, already > containing the base, then meson_pmx_request_gpio is then called with the > final pin number. > Remove the base addition when calling meson_pmx_disable_other_groups. > > Fixes: 6ac730951104 ("pinctrl: add driver for Amlogic Meson SoCs") > CC: Beniamino Galvani > Signed-off-by: Neil Armstrong Acked-by: Kevin Hilman