From: Ganesan Ramalingam Date: Wed, 7 Jan 2015 11:28:27 +0000 (+0530) Subject: MIPS: Netlogic: Fix frequency calculation register X-Git-Tag: omap-for-v4.2/o2_dc~101^2~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3613be442aaf435d7d3b224c81cea0b0f702d6a;p=pandora-kernel.git MIPS: Netlogic: Fix frequency calculation register Change the PIC frequency calculation to use the register that has the current configuration. The existing code used the register that is written to change frequency, which can have an invalid value if the firmware did not set it up correctly. Signed-off-by: Ganesan Ramalingam Signed-off-by: Jayachandran C Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8885/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed