diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-11-20 14:45:29 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-11-20 14:45:29 -0500 |
commit | 11e47ce1e81e4caf80d0de2b8545236e67149a8f (patch) | |
tree | 9cf463380b2c35a1756e4fbcfc9d30aaad7e680c /linux/drivers/media/dvb/frontends/lgh06xf.c | |
parent | 5c13f3be9133087a6f21f3a335aa370077cb6554 (diff) | |
download | mediapointer-dvb-s2-11e47ce1e81e4caf80d0de2b8545236e67149a8f.tar.gz mediapointer-dvb-s2-11e47ce1e81e4caf80d0de2b8545236e67149a8f.tar.bz2 |
dvb-pll: return frequency set by dvb_pll_configure()
From: Michael Krufky <mkrufky@linuxtv.org>
This patch removes some duplicated code by returning the frequency set by
dvb_pll_configure(), instead of recalculating it again in dvb_pll_set_params()
and dvb_pll_calc_regs().
If the return value of dvb_pll_configure is less than zero, it is an error
code. Otherwise, the return value is the frequency actually set by the
function.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/lgh06xf.c')
0 files changed, 0 insertions, 0 deletions