mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
The rmii_internal clock is needed only when PHY interface is RMII, and reference clock is from MAC. Re-arrange the clock setting as following: 1. the optional "rmii_internal" is controlled by devm_clk_get(), 2. other clocks still be configured by devm_clk_bulk_get(). Signed-off-by: Biao Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>