diff options
| author | Ilya Lipnitskiy <[email protected]> | 2021-03-06 20:17:24 -0800 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2021-03-12 10:13:55 +0100 |
| commit | c15b99ae2ba9ea30da3c7cd4765b8a4707e530a6 (patch) | |
| tree | 4cee9045cad9ecef0098319366a23c3cc9e10036 /tools/perf/scripts/python | |
| parent | cd26db59fceecefc4f821e84cb936eba7a727262 (diff) | |
MIPS: pci-mt7620: fix PLL lock check
Upstream a long-standing OpenWrt patch [0] that fixes MT7620 PCIe PLL
lock check. The existing code checks the wrong register bit: PPLL_SW_SET
is not defined in PPLL_CFG1 and bit 31 of PPLL_CFG1 is marked as reserved
in the MT7620 Programming Guide. The correct bit to check for PLL lock
is PPLL_LD (bit 23).
Also reword the error message for clarity.
Without this change it is unlikely that this driver ever worked with
mainline kernel.
[0]: https://lists.infradead.org/pipermail/lede-commits/2017-July/004441.html
Signed-off-by: Ilya Lipnitskiy <[email protected]>
Cc: John Crispin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions