Commit 6a3eafe4 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: ps2-gpio - actually abort probe when connected to sleeping GPIOs

We've been missing a goto to the unwind path...
Acked-by: default avatarDanilo Krummrich <danilokrummrich@dk-develop.de>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent ded489d4
......@@ -366,6 +366,7 @@ static int ps2_gpio_probe(struct platform_device *pdev)
gpiod_cansleep(drvdata->gpio_clk)) {
dev_err(dev, "GPIO data or clk are connected via slow bus\n");
error = -EINVAL;
goto err_free_serio;
}
drvdata->irq = platform_get_irq(pdev, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment