media: lgdt330x: add block error counts via DVBv5
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Mar 2018 16:15:41 +0000 (11:15 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 15:13:20 +0000 (11:13 -0400)
commit5f939c36b5d6803d110de145cea32b14e0eb941a
tree0866e787f95fa04e860da8c99a220e7edba7a40a
parentea2d7611faa2bd4e4c1658cc4457ed238c5af5de
media: lgdt330x: add block error counts via DVBv5

Show the UCB error counts via DVBv5.

Please notice that there's no scale indication at the driver.
As we don't have the datasheet, let's assume that it is receiving
data at a rate of 10.000 packets per second. Ideally, this should
be read or estimated.

In order to avoid flooding I2C bus with data, the maximum
polling rate for those stats was set to 1 second.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-frontends/lgdt330x.c