• Antti Palosaari's avatar
    [media] mn88473: refactor and fix statistics · 69ace6ee
    Antti Palosaari authored
    Remove DVB-T2 BER as it does not work at all and I didn't find
    how to fix.
    
    Fix DVB-T and DVB-C BER. It seems to return new some realistic
    looking values.
    
    Use (1 << 24) base for CNR calculations to keep it in line with
    dvb logarithm functions.
    
    Move all statistic logic to mn88473_read_status() function.
    
    Use regmap_bulk_read() for reading multiple registers as a one go.
    
    Many more and less minor changes.
    
    Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
    Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    69ace6ee
mn88473_priv.h 1.03 KB