linux/drivers/media/dvb-frontends/drx39xyj
Mauro Carvalho Chehab ee0f4a1444 drx-j: use ber_count var
drivers/media/dvb-frontends/drx39xyj/drxj.c: In function 'ctrl_get_qam_sig_quality':
drivers/media/dvb-frontends/drx39xyj/drxj.c:9468:6: warning: variable 'ber_cnt' set but not used [-Wunused-but-set-variable]
  u32 ber_cnt = 0; /* BER count */
      ^

By reading the comment, it is said that BER should be calculated as:
	qam_pre_rs_ber = frac_times1e6( ber_cnt, rs_bit_cnt );

Also, it makes sense to take the mantissa into account, so fix the
code to do what's commented.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-03-11 07:37:21 -03:00
..
bsp_i2c.h [media] drx-j: Use the Linux error codes 2014-03-04 14:29:41 -03:00
drx39xxj.h [media] drx39xxj.h: Fix undefined reference to attach function 2014-03-11 07:37:15 -03:00
drx_dap_fasi.h [media] drx-j: make checkpatch.pl happy 2014-03-04 14:30:44 -03:00
drx_driver_version.h [media] drx-j: make checkpatch.pl happy 2014-03-04 14:30:44 -03:00
drx_driver.h [media] drx-j: Prepare to use DVBv5 stats 2014-03-11 07:37:19 -03:00
drxj_map.h [media] drx-j: make checkpatch.pl happy 2014-03-04 14:30:44 -03:00
drxj.c drx-j: use ber_count var 2014-03-11 07:37:21 -03:00
drxj.h [media] drx-j: remove external symbols 2014-03-11 07:37:16 -03:00
Kconfig [media] drx-j: Fix compilation and un-comment it 2014-03-04 14:21:00 -03:00
Makefile [media] drx-j: get rid of drx_dap_fasi.c 2014-03-04 14:39:06 -03:00