diff options
author | 2019-05-24 14:26:08 +0800 | |
---|---|---|
committer | 2019-05-25 11:02:31 -0700 | |
commit | 5e7f7fc538d894b2d9aa41876b8dcf35f5fe11e6 (patch) | |
tree | 9b05f3100a9355e57ce02e1f94ee73e8a65a314d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: update rx tail pointer register to fix rx dma hang issue. (diff) | |
download | linux-dev-5e7f7fc538d894b2d9aa41876b8dcf35f5fe11e6.tar.xz linux-dev-5e7f7fc538d894b2d9aa41876b8dcf35f5fe11e6.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions