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>