summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/siano
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-22 10:37:32 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-22 13:46:45 +0100
commit48f72a1a4caaaac6cc22b6c4b6471286955a590d (patch)
treebd2fcff2352cc51a87292dfde0f3ed5a9028cd9e /drivers/media/common/siano
parent[media] siano: use do_div() for 64-bits division (diff)
downloadlinux-48f72a1a4caaaac6cc22b6c4b6471286955a590d.tar.xz
linux-48f72a1a4caaaac6cc22b6c4b6471286955a590d.zip
[media] drxk: fix CNR calculus
Changeset 8f3741e accidentally broke the CNR estimation. It should be calculated as "a + b - c". However, previously, the subtraction by c only occurred if SNR would be positive, due to a bad binding to DVBv3 API. This also fixes the following warning: drivers/media/dvb-frontends/drxk_hard.c:2556:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/siano')
0 files changed, 0 insertions, 0 deletions