Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261548
b: refs/heads/master
c: 3509cbd
h: refs/heads/master
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent c6a543e commit 85815a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 709d92083af0b0529f6e1d11d17718c9a1da8f01
refs/heads/master: 3509cbdface46cf39908124580a2a3b35f7e2783
8 changes: 0 additions & 8 deletions trunk/drivers/media/dvb/dvb-usb/af9015.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ static int af9015_rw_udev(struct usb_device *udev, struct req_t *req)
case GET_CONFIG:
case READ_MEMORY:
case RECONNECT_USB:
case GET_IR_CODE:
write = 0;
break;
case READ_I2C:
Expand Down Expand Up @@ -164,13 +163,6 @@ static int af9015_rw_udev(struct usb_device *udev, struct req_t *req)
deb_xfer("<<< ");
debug_dump(buf, act_len, deb_xfer);

/* remote controller query status is 1 if remote code is not received */
if (req->cmd == GET_IR_CODE && buf[1] == 1) {
buf[1] = 0; /* clear command "error" status */
memset(&buf[2], 0, req->data_len);
buf[3] = 1; /* no remote code received mark */
}

/* check status */
if (buf[1]) {
err("command failed:%d", buf[1]);
Expand Down

0 comments on commit 85815a8

Please sign in to comment.