diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-11-20 16:45:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 09:05:05 -0200 |
commit | 89faeefcf875c16d8923eaed50bd57731c221bcc (patch) | |
tree | fd6d7f56a3169b3fb9ff3dca12730bc2f469ad8e /drivers/media/dvb/frontends/zl10353.c | |
parent | 47ae9ae895a5228e7a3ca47b1c9ab00a3f641923 (diff) | |
download | kernel-crypto-89faeefcf875c16d8923eaed50bd57731c221bcc.tar.gz kernel-crypto-89faeefcf875c16d8923eaed50bd57731c221bcc.tar.xz kernel-crypto-89faeefcf875c16d8923eaed50bd57731c221bcc.zip |
V4L/DVB (4868): Dvb-pll: return frequency set by dvb_pll_configure()
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/zl10353.c')
0 files changed, 0 insertions, 0 deletions