If request_irq() fails, we have to return -EBUSY instead of -EINVAL. Signed-off-by: Joonyoung Shim <jy0922.shim@xxxxxxxxxxx> --- drivers/input/touchscreen/wm97xx-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c index 2957d48..06cc8cf 100644 --- a/drivers/input/touchscreen/wm97xx-core.c +++ b/drivers/input/touchscreen/wm97xx-core.c @@ -375,7 +375,7 @@ static int wm97xx_init_pen_irq(struct wm97xx *wm) dev_err(wm->dev, "Failed to register pen down interrupt, polling"); wm->pen_irq = 0; - return -EINVAL; + return -EBUSY; } /* Configure GPIO as interrupt source on WM971x */ -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html