Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d0ceae4 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 6bb096c9
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -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;
}