MIPS: Netlogic: Fix nlm_xlp2_get_pic_frequency to use ref_div
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 <931a4e745d135b0cb42fa26c62201c8e0e8167de@broadcom.com>
Signed-off-by: Jayachandran C <1bc8cf2274d8680f3a9b88ac7b7d2a9e0d1d4ca2@broadcom.com>
Cc: 562397917b9a8bf316569a848858b12fb417723f@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8884/
Signed-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs