Re: [PATCH] ARM: tegra: paz00: set gpiod_lookup table conn_id's

From: Dmitry Osipenko
Date: Tue Jun 30 2015 - 09:58:57 EST


30.06.2015 16:42, Alexandre Courbot ÐÐÑÐÑ:
On Mon, Jun 29, 2015 at 4:34 AM, Dmitry Osipenko <digetx@xxxxxxxxx> 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 <acourbot@xxxxxxxxxx>


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/