Skip to content
Commit 8db23f7d authored by Qingmin Liu's avatar Qingmin Liu Committed by Ralf Baechle
Browse files

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: default avatarQingmin Liu <qingmin@broadcom.com>
Signed-off-by: default avatarJayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8884/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 46ab6f24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment