msm: emac: Avoid MDIO access in suspended state
External phy driver can initiate the MDIO transfers
when EMAC controller in suspended state. This will
lead to unclock access.
Added a check for EMAC runtime PM state before
allowing MDIO access.
Change-Id: Ib1af4eefafcbab8d1bc5be3c783c9a9db1205007
Signed-off-by:
Alok Chauhan <alokc@codeaurora.org>
Loading
Please register or sign in to comment