mirror of https://gitee.com/openkylin/linux.git
Input: ps2-gpio - actually abort probe when connected to sleeping GPIOs
We've been missing a goto to the unwind path... Acked-by: Danilo Krummrich <danilokrummrich@dk-develop.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
ded489d43f
commit
6a3eafe490
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue