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-sony-decoder.c
diff --git
a/drivers/media/rc/ir-sony-decoder.c
b/drivers/media/rc/ir-sony-decoder.c
index 58ef06f35175964e5412e340f9acd3ffef638fee..baa972c76e0e19a5f0b5651310df2c93daf0e8fa 100644
(file)
--- a/
drivers/media/rc/ir-sony-decoder.c
+++ b/
drivers/media/rc/ir-sony-decoder.c
@@
-46,10
+46,6
@@
static int ir_sony_decode(struct rc_dev *dev, struct ir_raw_event ev)
u32 scancode;
u8 device, subdevice, function;
- if (!(dev->enabled_protocols &
- (RC_BIT_SONY12 | RC_BIT_SONY15 | RC_BIT_SONY20)))
- return 0;
-
if (!is_timing_event(ev)) {
if (ev.reset)
data->state = STATE_INACTIVE;
This page took
0.024556 seconds
and
5
git commands to generate.