Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242332
b: refs/heads/master
c: 30f5b28
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Linus Torvalds committed Mar 25, 2011
1 parent e5da566 commit 9b52c38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7351402574eec1308b099cc8e8108e715a2c8b6
refs/heads/master: 30f5b28e7f937608e0407edaa459cc8161de81d9
6 changes: 3 additions & 3 deletions trunk/drivers/media/rc/ite-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int
sample_period = dev->params.sample_period;
ldata = (unsigned long *)data;
size = length << 3;
next_one = generic_find_next_le_bit(ldata, size, 0);
next_one = find_next_bit_le(ldata, size, 0);
if (next_one > 0) {
ev.pulse = true;
ev.duration =
Expand All @@ -196,14 +196,14 @@ static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int
}

while (next_one < size) {
next_zero = generic_find_next_zero_le_bit(ldata, size, next_one + 1);
next_zero = find_next_zero_bit_le(ldata, size, next_one + 1);
ev.pulse = false;
ev.duration = ITE_BITS_TO_NS(next_zero - next_one, sample_period);
ir_raw_event_store_with_filter(dev->rdev, &ev);

if (next_zero < size) {
next_one =
generic_find_next_le_bit(ldata,
find_next_bit_le(ldata,
size,
next_zero + 1);
ev.pulse = true;
Expand Down

0 comments on commit 9b52c38

Please sign in to comment.