From: Qingmin Liu Date: Wed, 7 Jan 2015 11:28:23 +0000 (+0530) Subject: MIPS: Netlogic: Fix nlm_xlp2_get_pic_frequency to use ref_div X-Git-Tag: omap-for-v4.2/o2_dc~101^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8db23f7df6be572d816f0d056fec16c954d3bdf6;p=pandora-kernel.git MIPS: Netlogic: Fix nlm_xlp2_get_pic_frequency to use ref_div The variable ref_div is initialized to the correct divisor but not used in the frequency calculation. This caused incorrect frequency to be reported when the clock divisor is not 3. Signed-off-by: Qingmin Liu Signed-off-by: Jayachandran C Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8884/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed