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