diff options
author | Biao Huang <biao.huang@mediatek.com> | 2019-05-24 09:26:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-25 21:02:31 +0300 |
commit | 5e7f7fc538d894b2d9aa41876b8dcf35f5fe11e6 (patch) | |
tree | 9b05f3100a9355e57ce02e1f94ee73e8a65a314d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4523a5611526709ec9b4e2574f1bb7818212651e (diff) | |
download | linux-5e7f7fc538d894b2d9aa41876b8dcf35f5fe11e6.tar.xz |
net: stmmac: fix csr_clk can't be zero issue
The specific clk_csr value can be zero, and
stmmac_clk is necessary for MDC clock which can be set dynamically.
So, change the condition from plat->clk_csr to plat->stmmac_clk to
fix clk_csr can't be zero issue.
Fixes: cd7201f477b9 ("stmmac: MDC clock dynamically based on the csr clock input")
Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions