Since the other statistics are read when fe_status conditions are TRUE,
change the ucblocks readout logic to match this aswell.
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
else
p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
- /* stop if demod isn't locked */
- if (!(*status & FE_HAS_LOCK)) {
+ /* read uncorrected blocks on FE_HAS_LOCK */
+ if (*status & FE_HAS_LOCK)
+ stv0367ddb_read_ucblocks(fe);
+ else
p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
- return ret;
- }
-
- stv0367ddb_read_ucblocks(fe);
return 0;
}