aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-jvc-decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/ir-jvc-decoder.c')
-rw-r--r--drivers/media/rc/ir-jvc-decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ir-jvc-decoder.c b/drivers/media/rc/ir-jvc-decoder.c
index 7b79eca83449..30bcf188d377 100644
--- a/drivers/media/rc/ir-jvc-decoder.c
+++ b/drivers/media/rc/ir-jvc-decoder.c
@@ -47,7 +47,7 @@ static int ir_jvc_decode(struct rc_dev *dev, struct ir_raw_event ev)
47{ 47{
48 struct jvc_dec *data = &dev->raw->jvc; 48 struct jvc_dec *data = &dev->raw->jvc;
49 49
50 if (!rc_protocols_enabled(dev, RC_BIT_JVC)) 50 if (!(dev->enabled_protocols & RC_BIT_JVC))
51 return 0; 51 return 0;
52 52
53 if (!is_timing_event(ev)) { 53 if (!is_timing_event(ev)) {