summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-09-03 23:07:39 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 19:46:43 -0300
commit1d0ceae4a19d318b443277ea6ac891a2e6e8fdc3 (patch)
tree4e571f1cad6126aae82fbfb85443f6aef67fa42e /drivers/media/dvb-frontends
parent6bb096c92671cad4a8cfcb8bf2a5309a9033faee (diff)
[media] af9033: wrap DVBv3 UCB to DVBv5 UCB stats
Remove 'duplicate' DVBv3 read UCB implementation and return value, calculated already for DVBv5 statistics. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/af9033.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c
index b6b90e61ed8..673d60ef965 100644
--- a/drivers/media/dvb-frontends/af9033.c
+++ b/drivers/media/dvb-frontends/af9033.c
@@ -932,14 +932,8 @@ static int af9033_read_ber(struct dvb_frontend *fe, u32 *ber)
static int af9033_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks)
{
struct af9033_dev *dev = fe->demodulator_priv;
- int ret;
-
- ret = af9033_update_ch_stat(dev);
- if (ret < 0)
- return ret;
-
- *ucblocks = dev->ucb;
+ *ucblocks = dev->error_block_count;
return 0;
}