• Heiko Stübner's avatar
    net: stmmac: dwmac-rk: Fix clk rate when provided by soc · c48fa33c
    Heiko Stübner authored
    The first iteration of the dwmac-rk support did access an intermediate
    clock directly below the pll selector. This was removed in a subsequent
    revision, but the clock and one invocation remained. This results in
    the driver trying to set the rate of a non-existent clock when the soc
    and not some external source provides the phy clock for RMII phys.
    
    So set the rate of the correct clock and remove the remaining now
    completely unused definition.
    
    Fixes: 436f5ae08f9d ("GMAC: add driver for Rockchip RK3288 SoCs integrated GMAC")
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c48fa33c
dwmac-rk.c 11.8 KB