[media] mb86a20s: add BER measurement
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Jan 2013 15:30:07 +0000 (12:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 23 Jan 2013 21:10:35 +0000 (19:10 -0200)
commit149d518ad0fd0d566d4859a4d3f280ee33de8ed7
treefda469983db879d5a4a8e25398e2da7297d7b16b
parent09b6d21e100a8dcda7cf5a32ecd52e8008094f72
[media] mb86a20s: add BER measurement

Add the methods to read bit error/bit count measurements from
mb86a20s. On ISDB-T devices, those reads are done per layer.
However, as userspace applications may not be aware of that,
add a global measure that will sum the bit errors and bit
counts for each layer, storing them into a global value.

Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c