Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331174
b: refs/heads/master
c: 97efe78
h: refs/heads/master
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Sep 27, 2012
1 parent 8e4bf3b commit 6926ce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 4005c1a9f6c40b0b0de2b8ac80a6f53f23b52f6e
refs/heads/master: 97efe7811be6634d6b520a9cdd9f723369af9216
8 changes: 2 additions & 6 deletions trunk/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ static int rtl2832u_fc0012_tuner_callback(struct dvb_usb_device *d,
goto err;
}
return 0;

err:
dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, ret);
return ret;
Expand Down Expand Up @@ -643,7 +642,6 @@ static int rtl2832u_tua9001_tuner_callback(struct dvb_usb_device *d,
}

return 0;

err:
dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, ret);
return ret;
Expand All @@ -656,17 +654,15 @@ static int rtl2832u_tuner_callback(struct dvb_usb_device *d, int cmd, int arg)
switch (priv->tuner) {
case TUNER_RTL2832_FC0012:
return rtl2832u_fc0012_tuner_callback(d, cmd, arg);

case TUNER_RTL2832_FC0013:
return rtl2832u_fc0013_tuner_callback(d, cmd, arg);

case TUNER_RTL2832_TUA9001:
return rtl2832u_tua9001_tuner_callback(d, cmd, arg);
default:
break;
}

return -ENODEV;
return 0;
}

static int rtl2832u_frontend_callback(void *adapter_priv, int component,
Expand All @@ -682,7 +678,7 @@ static int rtl2832u_frontend_callback(void *adapter_priv, int component,
break;
}

return -EINVAL;
return 0;
}

static int rtl2832u_frontend_attach(struct dvb_usb_adapter *adap)
Expand Down

0 comments on commit 6926ce6

Please sign in to comment.