]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: dvb-frontends/stv0910: fix CNR reporting in read_snr()
authorDaniel Scheller <d.scheller@gmx.net>
Mon, 9 Apr 2018 16:47:35 +0000 (12:47 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 14:25:21 +0000 (10:25 -0400)
commitcea6d2392fde9eec176538cbaee476d76e591028
tree0387d99a7f911b1a70721f337c299b9daa2b24d5
parente2c53c8d0b29a161c72c631b6b2a8654b9823151
media: dvb-frontends/stv0910: fix CNR reporting in read_snr()

The CNR value determined in read_snr() is reported via the wrong variable.
It uses FE_SCALE_DECIBEL, which implies the value to be reported in svalue
instead of uvalue. Fix this accordingly.

Picked up from the upstream dddvb-0.9.33 release.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-frontends/stv0910.c