linux: fix patch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-08-15 13:58:31 +02:00
parent dadfd3d296
commit 41be1f5ace

View File

@ -1,10 +1,10 @@
--- a/drivers/media/rc/imon.c 2014-06-29 15:15:50.187264025 -0400 diff -Naur linux-3.16.1/drivers/media/rc/imon.c linux-3.16.1.patch/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c 2014-06-29 15:15:35.731220648 -0400 --- linux-3.16.1/drivers/media/rc/imon.c 2014-08-14 04:36:35.000000000 +0200
@@ -1406,6 +1415,16 @@ +++ linux-3.16.1.patch/drivers/media/rc/imon.c 2014-08-15 13:57:16.587620642 +0200
buf[3] = (dir >> 8) & 0xFF; @@ -1344,6 +1344,17 @@
scancode = be32_to_cpu(*((u32 *)buf)); }
} else { } else {
+ /* /*
+ * For users without stabilized, just ignore any value getting + * For users without stabilized, just ignore any value getting
+ * to close to the diagonal. + * to close to the diagonal.
+ */ + */
@ -15,6 +15,7 @@
+ spin_unlock_irqrestore(&ictx->kc_lock, flags); + spin_unlock_irqrestore(&ictx->kc_lock, flags);
+ return; + return;
+ } + }
/* + /*
* Hack alert: instead of using keycodes, we have * Hack alert: instead of using keycodes, we have
* to use hard-coded scancodes here... * to use hard-coded scancodes here...
*/