[media] media: rc: move check whether a protocol is enabled to the core
[deliverable/linux.git] / drivers / media / rc / ir-rc6-decoder.c
index d16bc67af732251998fb280b86d887835cf39e1b..e0e2edefa6510cdf39954f57e1b276f5bbacdb12 100644 (file)
@@ -90,11 +90,6 @@ static int ir_rc6_decode(struct rc_dev *dev, struct ir_raw_event ev)
        u8 toggle;
        enum rc_type protocol;
 
-       if (!(dev->enabled_protocols &
-             (RC_BIT_RC6_0 | RC_BIT_RC6_6A_20 | RC_BIT_RC6_6A_24 |
-              RC_BIT_RC6_6A_32 | RC_BIT_RC6_MCE)))
-               return 0;
-
        if (!is_timing_event(ev)) {
                if (ev.reset)
                        data->state = STATE_INACTIVE;
This page took 0.026174 seconds and 5 git commands to generate.