diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2022-01-28 22:52:13 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-28 15:15:04 +0000 |
commit | b76bbb34dc80258f5079b4067f0dae07b394b8fe (patch) | |
tree | 5d10cccd6640c66fd847d7637ac63e2ed7d3016f /drivers/bluetooth | |
parent | 34a79c5dca4aeabc26073ef36233ea1f409b4d4b (diff) | |
download | linux-b76bbb34dc80258f5079b4067f0dae07b394b8fe.tar.bz2 |
net: stmmac: dwmac-sun8i: make clk really gated during rpm suspended
Currently, the dwmac-sun8i's stmmaceth clk isn't disabled even if the
the device has been runtime suspended. The reason is the driver gets
the "stmmaceth" clk as tx_clk and enabling it during probe. But
there's no other usage of tx_clk except preparing and enabling, so
we can remove tx_clk and its usage then rely on the common routine
stmmac_probe_config_dt() to prepare and enable the stmmaceth clk
during driver initialization, and benefit from the runtime pm feature
after probed.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions