From: Mauro Carvalho Chehab Date: Fri, 22 Mar 2013 09:37:32 +0000 (-0300) Subject: [media] drxk: fix CNR calculus X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~342 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f72a1a4caaaac6cc22b6c4b6471286955a590d;p=pandora-kernel.git [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 --- Reading git-diff-tree failed