From: Michael Krufky Date: Mon, 20 Nov 2006 19:45:29 +0000 (-0300) Subject: V4L/DVB (4868): Dvb-pll: return frequency set by dvb_pll_configure() X-Git-Tag: v2.6.20-rc2~85^2~18^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89faeefcf875c16d8923eaed50bd57731c221bcc;p=pandora-kernel.git 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 Acked-by: Andrew de Quincey Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed