Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232193
b: refs/heads/master
c: 59aa346
h: refs/heads/master
i:
  232191: 75fb186
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 19, 2011
1 parent 9eeb7ed commit 81a575a
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: 312d63e4b0ca8456c82d01a6446795f7d029ecde
refs/heads/master: 59aa346009c06c6697e9db008e67e4ff8c205091
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/dvb-usb/dib0700_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ struct dib0700_rc_response {
union {
u16 system16;
struct {
u8 system;
u8 not_system;
u8 system;
};
};
u8 data;
Expand Down Expand Up @@ -575,7 +575,7 @@ static void dib0700_rc_urb_completion(struct urb *purb)
if ((poll_reply->system ^ poll_reply->not_system) != 0xff) {
deb_data("NEC extended protocol\n");
/* NEC extended code - 24 bits */
keycode = poll_reply->system16 << 8 | poll_reply->data;
keycode = be16_to_cpu(poll_reply->system16) << 8 | poll_reply->data;
} else {
deb_data("NEC normal protocol\n");
/* normal NEC code - 16 bits */
Expand All @@ -587,7 +587,7 @@ static void dib0700_rc_urb_completion(struct urb *purb)
deb_data("RC5 protocol\n");
/* RC5 Protocol */
toggle = poll_reply->report_id;
keycode = poll_reply->system16 << 8 | poll_reply->data;
keycode = poll_reply->system << 8 | poll_reply->data;

break;
}
Expand Down

0 comments on commit 81a575a

Please sign in to comment.