Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753187AbbF3N6x (ORCPT ); Tue, 30 Jun 2015 09:58:53 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:34919 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752877AbbF3N6T (ORCPT ); Tue, 30 Jun 2015 09:58:19 -0400 Message-ID: <5592A026.3010200@gmail.com> Date: Tue, 30 Jun 2015 16:56:54 +0300 From: Dmitry Osipenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Alexandre Courbot CC: Thierry Reding , Stephen Warren , Marc Dietrich , Mika Westerberg , "Rafael J. Wysocki" , Stable , "linux-arm-kernel@lists.infradead.org" , "linux-tegra@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: [PATCH] ARM: tegra: paz00: set gpiod_lookup table conn_id's References: <1435520160-16862-1-git-send-email-digetx@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1054 Lines: 26 30.06.2015 16:42, Alexandre Courbot пишет: > On Mon, Jun 29, 2015 at 4:34 AM, Dmitry Osipenko wrote: >> Commit 72daceb9a10a ("net: rfkill: gpio: Add default GPIO driver mappings >> for ACPI") removed possibility to request GPIO by table index for non-ACPI >> platforms without changing it users. As result "shutdown" GPIO request >> will fail if request for "reset" GPIO succeeded or "reset" will be >> requested instead of "shutdown" if "reset" wasn't defined. Fix it by >> setting conn_id's in gpiod_lookup_table. > > Yep, and using con_ids is a good idea anyway. > > Acked-by: Alexandre Courbot > After discussion on irc, turned out that patch missed s/GPIO_LOOKUP_IDX/GPIO_LOOKUP. I'll send V2. And s/conn_id/con_id typo started to annoy me... -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/