summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/media/rc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/media/rc')
-rw-r--r--kernel/drivers/media/rc/ir-rc5-decoder.c2
-rw-r--r--kernel/drivers/media/rc/ite-cir.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/media/rc/ir-rc5-decoder.c b/kernel/drivers/media/rc/ir-rc5-decoder.c
index 84fa6e9b5..67314c034 100644
--- a/kernel/drivers/media/rc/ir-rc5-decoder.c
+++ b/kernel/drivers/media/rc/ir-rc5-decoder.c
@@ -29,7 +29,7 @@
#define RC5_BIT_START (1 * RC5_UNIT)
#define RC5_BIT_END (1 * RC5_UNIT)
#define RC5X_SPACE (4 * RC5_UNIT)
-#define RC5_TRAILER (10 * RC5_UNIT) /* In reality, approx 100 */
+#define RC5_TRAILER (6 * RC5_UNIT) /* In reality, approx 100 */
enum rc5_state {
STATE_INACTIVE,
diff --git a/kernel/drivers/media/rc/ite-cir.c b/kernel/drivers/media/rc/ite-cir.c
index 0f301903a..63165d324 100644
--- a/kernel/drivers/media/rc/ite-cir.c
+++ b/kernel/drivers/media/rc/ite-cir.c
@@ -263,6 +263,8 @@ static void ite_set_carrier_params(struct ite_dev *dev)
if (allowance > ITE_RXDCR_MAX)
allowance = ITE_RXDCR_MAX;
+
+ use_demodulator = true;
}
}