projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] media: rc: move check whether a protocol is enabled to the core
[deliverable/linux.git]
/
drivers
/
media
/
rc
/
ir-rc6-decoder.c
diff --git
a/drivers/media/rc/ir-rc6-decoder.c
b/drivers/media/rc/ir-rc6-decoder.c
index d16bc67af732251998fb280b86d887835cf39e1b..e0e2edefa6510cdf39954f57e1b276f5bbacdb12 100644
(file)
--- a/
drivers/media/rc/ir-rc6-decoder.c
+++ b/
drivers/media/rc/ir-rc6-decoder.c
@@
-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.023577 seconds
and
5
git commands to generate.