gpiod_request when gpio returns -EBUSY results in fault. Changing to pr_warn fixes the problem. Signed-off-by: Phil Reid <preid@xxxxxxxxxxxxxxxxx> --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index a18f00f..0ef01b8 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -961,7 +961,7 @@ int gpiod_request(struct gpio_desc *desc, const char *label) done: if (status) - gpiod_dbg(desc, "%s: status %d\n", __func__, status); + pr_warn("%s: status %d\n", __func__, status); return status; } -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html