Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3f75a80 authored by Sunil Paidimarri's avatar Sunil Paidimarri Committed by Gerrit - the friendly Code Review server
Browse files

data-kernel: EMAC: Fix clock config in probe for always on PHY



Set 10Mbps config in probe only for PHY which is not always on.

Change-Id: I29696e7d2a7bc10b85d1bff31361297258f38a92
CRs-Fixed: 2282052
Acked-by: default avatarRahul Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: default avatarSunil Paidimarri <hisunil@codeaurora.org>
parent 7b58001d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1306,7 +1306,7 @@ static int DWC_ETH_QOS_configure_netdevice(struct platform_device *pdev)
		dev_alert(&pdev->dev, "carrier off till LINK is up\n");
	}

	/* Set clocks to 10 Mbps config */
	if (!pdata->always_on_phy)
		DWC_ETH_QOS_set_clk_and_bus_config(pdata, SPEED_10);

	EMACDBG("<-- DWC_ETH_QOS_configure_netdevice\n");