diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-input.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-input.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/cx23885/cx23885-input.c b/drivers/media/video/cx23885/cx23885-input.c index 3f924e21b95..252817acc35 100644 --- a/drivers/media/video/cx23885/cx23885-input.c +++ b/drivers/media/video/cx23885/cx23885-input.c | |||
@@ -46,12 +46,6 @@ | |||
46 | 46 | ||
47 | static void convert_measurement(u32 x, struct ir_raw_event *y) | 47 | static void convert_measurement(u32 x, struct ir_raw_event *y) |
48 | { | 48 | { |
49 | if (x == V4L2_SUBDEV_IR_PULSE_RX_SEQ_END) { | ||
50 | y->pulse = false; | ||
51 | y->duration = V4L2_SUBDEV_IR_PULSE_MAX_WIDTH_NS; | ||
52 | return; | ||
53 | } | ||
54 | |||
55 | y->pulse = (x & V4L2_SUBDEV_IR_PULSE_LEVEL_MASK) ? true : false; | 49 | y->pulse = (x & V4L2_SUBDEV_IR_PULSE_LEVEL_MASK) ? true : false; |
56 | y->duration = x & V4L2_SUBDEV_IR_PULSE_MAX_WIDTH_NS; | 50 | y->duration = x & V4L2_SUBDEV_IR_PULSE_MAX_WIDTH_NS; |
57 | } | 51 | } |