Re: [PATCH net] xgene: Always get clk source, but ignore if it's missing for SGMII ports

From: David Miller
Date: Fri Aug 04 2017 - 14:31:03 EST


From: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
Date: Thu, 3 Aug 2017 15:43:14 +0200

> From: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
>
> Even the driver doesn't do anything with the clk source for SGMII
> ports it needs to be enabled by doing a devm_clk_get(), if there is
> a clk source in DT.
>
> Fixes: 0db01097cabd ('xgene: Don't fail probe, if there is no clk resource for SGMII interfaces')
> Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
> Tested-by: Laura Abbott <labbott@xxxxxxxxxx>
> Acked-by: Iyappan Subramanian <isubramanian@xxxxxxx>

Applied, thanks.