commit | 8db23f7df6be572d816f0d056fec16c954d3bdf6 | [log] [tgz] |
---|---|---|
author | Qingmin Liu <qingmin@broadcom.com> | Wed Jan 07 16:58:23 2015 +0530 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Apr 01 17:21:48 2015 +0200 |
tree | 4e957d8532efb24cbffba41c8cfdff549234944d | |
parent | 46ab6f24ac7b05c07e2936124b45da5f2f8fdc61 [diff] |
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 <qingmin@broadcom.com> Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8884/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>