/* Configured to return the measurement of errors in blocks, because no UCBLOCKS value is available, so this value doubles up to satisfy both measurements.  */
static int cx24123_read_ber(struct dvb_frontend *fe, u32 *ber)
/* Configured to return the measurement of errors in blocks, because no UCBLOCKS value is available, so this value doubles up to satisfy both measurements.  */
static int cx24123_read_ber(struct dvb_frontend *fe, u32 *ber)
{
	struct cx24123_state *state = fe->demodulator_priv;
	*ber = ((cx24123_readreg(state, 0x1c) & 0x3f) << 16) |
		(cx24123_readreg(state, 0x1d) << 8 |
		 cx24123_readreg(state, 0x1e));
	dprintk("BER = %d\n", *ber);
	return 0;
}