mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue