ACPI / gpio: do not fall back to parsing _CRS when we get a deferral
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Mar 2017 20:21:38 +0000 (13:21 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Mar 2017 09:08:46 +0000 (11:08 +0200)
commit693bdaa164b40b7aa6018b98af6f7e40dbd52457
tree254b50b29b099b99850cb6069ac6ef0c5acb3214
parent8a146fbe1f1461aebc9b8f06a0f22e1a8a4f0dd1
ACPI / gpio: do not fall back to parsing _CRS when we get a deferral

If, while locating GPIOs by name, we get probe deferral, we should
immediately report it to caller rather than trying to fall back to parsing
unnamed GPIOs from _CRS block.

Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-and-Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c