Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357187
b: refs/heads/master
c: 9d5394c
h: refs/heads/master
i:
  357185: 0430f70
  357183: f580142
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 27, 2012
1 parent 7a35a3d commit 2ea6599
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: b677757cef208203426aa8486a91214809135e01
refs/heads/master: 9d5394c2a19f8a74cb55ce83027bad1808b373b5
8 changes: 6 additions & 2 deletions trunk/drivers/media/usb/dvb-usb/m920x.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,14 @@ static int m920x_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
if (!rc_state)
return -ENOMEM;

if ((ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_STATE, rc_state, 1)) != 0)
ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_STATE,
rc_state, 1);
if (ret != 0)
goto out;

if ((ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_KEY, rc_state + 1, 1)) != 0)
ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_KEY,
rc_state + 1, 1);
if (ret != 0)
goto out;

m920x_parse_rc_state(d, rc_state[0], state);
Expand Down

0 comments on commit 2ea6599

Please sign in to comment.