V4L/DVB (9447): stb6100: improve rounding
authorReinhard Nissl <rnissl@gmx.de>
Mon, 21 Jan 2008 19:15:14 +0000 (16:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:21 +0000 (17:53 -0200)
commit6f6c268b0f1f6846584162053a47d3aadf34a3c4
tree29fa3a64c955194aa1989b435bd5e890550c3fb3
parent02ec9d8ff4fba95255c277585aa5d0f33ec3adef
V4L/DVB (9447): stb6100: improve rounding

Optimization: Round the requested value to achieve a
+/-1MHz error instead of +0/-2MHz

Signed-off-by: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb6100.c