OSDN Git Service

[media] m88ds3103: use Hz instead of kHz on calculations
authorAntti Palosaari <crope@iki.fi>
Wed, 29 Jun 2016 23:39:47 +0000 (20:39 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 19:58:05 +0000 (16:58 -0300)
commitf5d9b88db7222bf5a8d0e5e7820873e3977d4ee3
treebbcdd7b57733a6ff39bc2bae1bd8d61672ac0023
parent334ef18e879980e92f8add103369b763766c4d9f
[media] m88ds3103: use Hz instead of kHz on calculations

There was some calculations where was kHz used in order to keep
calculation withing 32-bit. Convert all to Hz and use 64-bit
division helpers where needed.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/m88ds3103.c
drivers/media/dvb-frontends/m88ds3103_priv.h