提交 6a3eafe4 编写于 作者: D 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: NDanilo Krummrich <danilokrummrich@dk-develop.de>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册