This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-dvb.git tree:

Subject: input: unlock on error paths
Author:  Dan Carpenter <[email protected]>
Date:    Wed May 5 02:56:24 2010 -0300

We can't return here directly, we need to unlock the event_lock first.
This was introduced in: edeada2cde "V4L/DVB: input: Add support for
EVIO[CS]GKEYCODEBIG"

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/input/input.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=3066a493868701e27e8f92311a4bd74c2840ab08

diff --git a/drivers/input/input.c b/drivers/input/input.c
index d2bb5b5..21d8daa 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -742,8 +742,9 @@ int input_set_keycode_big(struct input_dev *dev,
                if (!dev->setkeycode)
                        goto out;
 
-               if (input_fetch_scancode(kt_entry, &scancode))
-                       return -EINVAL;
+               retval = input_fetch_scancode(kt_entry, &scancode);
+               if (retval)
+                       goto out;
 
                retval = dev->getkeycode(dev, scancode,
                                         &old_keycode);

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to