Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331049
b: refs/heads/master
c: 1835af1
h: refs/heads/master
i:
  331047: 3e50ddc
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Sep 23, 2012
1 parent 4c3bef6 commit 71f8523
Show file tree
Hide file tree
Showing 2 changed files with 6 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: ee1cdd507a73303c0794fa7ed654822bb2bec259
refs/heads/master: 1835af1003655ab89fd78fc8e8fe69f4e5dcc465
7 changes: 5 additions & 2 deletions trunk/drivers/media/usb/dvb-usb-v2/af9035.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ static int af9035_tuner_callback(struct dvb_usb_device *d, int cmd, int arg)
break;
}

return -ENODEV;
return 0;
}

static int af9035_frontend_callback(void *adapter_priv, int component,
Expand All @@ -661,14 +661,17 @@ static int af9035_frontend_callback(void *adapter_priv, int component,
struct i2c_adapter *adap = adapter_priv;
struct dvb_usb_device *d = i2c_get_adapdata(adap);

dev_dbg(&d->udev->dev, "%s: component=%d cmd=%d arg=%d\n",
__func__, component, cmd, arg);

switch (component) {
case DVB_FRONTEND_COMPONENT_TUNER:
return af9035_tuner_callback(d, cmd, arg);
default:
break;
}

return -EINVAL;
return 0;
}

static int af9035_frontend_attach(struct dvb_usb_adapter *adap)
Expand Down

0 comments on commit 71f8523

Please sign in to comment.