Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306341
b: refs/heads/master
c: 1cbabf9
h: refs/heads/master
i:
  306339: 72d0016
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed May 14, 2012
1 parent fddd2b7 commit 0181339
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 2a79eefa82d010b64b36efeebec04397ad494f22
refs/heads/master: 1cbabf9c751f8795a35885fad9ceaec7de71a29e
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/dvb-usb/af9035.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ static int af9035_read_mac_address(struct dvb_usb_device *d, u8 mac[6])
state->af9033_config[i].spec_inv = 1;
break;
default:
state->hw_not_supported = true;
warn("tuner ID=%02x not supported, please report!",
tmp);
};
Expand Down Expand Up @@ -809,7 +808,8 @@ static int af9035_frontend_attach(struct dvb_usb_adapter *adap)
struct state *state = adap->dev->priv;
int ret;

if (state->hw_not_supported) {
if (!state->af9033_config[adap->id].tuner) {
/* unsupported tuner */
ret = -ENODEV;
goto err;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/media/dvb/dvb-usb/af9035.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ struct usb_req {

struct state {
bool dual_mode;
bool hw_not_supported;

struct af9033_config af9033_config[2];
};
Expand Down

0 comments on commit 0181339

Please sign in to comment.