mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 03:55:09 +08:00
[media] xc5000: properly show quality register values
The quality register only has relevant data in bits 2-0, so discard the other bits (which results in a value being printed that is consistent with the expected 0-7 range). Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
364d2db279
commit
1aa9c487ff
@ -686,7 +686,7 @@ static void xc_debug_dump(struct xc5000_priv *priv)
|
||||
dprintk(1, "*** Frame lines = %d\n", frame_lines);
|
||||
|
||||
xc_get_quality(priv, &quality);
|
||||
dprintk(1, "*** Quality (0:<8dB, 7:>56dB) = %d\n", quality);
|
||||
dprintk(1, "*** Quality (0:<8dB, 7:>56dB) = %d\n", quality & 0x07);
|
||||
}
|
||||
|
||||
static int xc5000_set_params(struct dvb_frontend *fe)
|
||||
|
Loading…
Reference in New Issue
Block a user