linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: wm97xx - use EBUSY instead of EINVAL
@ 2009-06-03  5:45 Joonyoung Shim
  2009-06-03 10:01 ` Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Joonyoung Shim @ 2009-06-03  5:45 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, broonie

If request_irq() fails, we have to return -EBUSY instead of -EINVAL.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
---
 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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-04  1:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03  5:45 [PATCH] Input: wm97xx - use EBUSY instead of EINVAL Joonyoung Shim
2009-06-03 10:01 ` Mark Brown
2009-06-03 14:19   ` Dmitry Torokhov
2009-06-03 14:40     ` Mark Brown
2009-06-03 14:48       ` Dmitry Torokhov
2009-06-04  1:26   ` Joonyoung Shim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).