]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit504925578aa86822f5a90c55111a9366807fac31
tree0866e787f95fa04e860da8c99a220e7edba7a40a
parent88077b7d5d04e2b144f3eb4df65fa4ea33553c1e
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