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 /arch/sh/boards/snapgear | |
parent | 47ae9ae895a5228e7a3ca47b1c9ab00a3f641923 (diff) |
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 'arch/sh/boards/snapgear')
0 files changed, 0 insertions, 0 deletions