media: vidtv: add basic support for DVBv5 stats
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 13 Sep 2020 09:01:23 +0000 (11:01 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 14 Sep 2020 14:02:54 +0000 (16:02 +0200)
commit3e51a4965b9b9ab4fc6a7ecacc85816c7ebeeccb
tree8934444cb9d11ffcc7ce734a84167ef5a6d73376
parent96230dc134f9c390c86e9df99809e9c88fb44c24
media: vidtv: add basic support for DVBv5 stats

The current stats code is broken on so many ways. It ends
reporting 0 for signal strengh, and the work queue doesn't
run. If it would run, the code would crash.

Fix such issues and add the minimum stuff for DVBv5 stats.

Right now, only strength and cnr and UCB are implemented.
pre/post BER stats will always return zero.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_demod.c
drivers/media/test-drivers/vidtv/vidtv_tuner.c