MLK-16581-2 phy: mixel-lvds-combo: Get PHY clock rate before setting it's rate
authorLiu Ying <victor.liu@nxp.com>
Fri, 13 Oct 2017 03:47:51 +0000 (11:47 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit06a7b89caae368d7aeff2cfcef749d993031eff9
tree19f4110cae458478be1e3bb2409e29502d2481ac
parent8a5f2be5f6a13ebbced6de71e5134856a00e40dc
MLK-16581-2 phy: mixel-lvds-combo: Get PHY clock rate before setting it's rate

Due to i.MX8 clock issue, we need to get PHY clock rate
before setting it's rate when system resumes back from
PM sleep mode, otherwise, we'll fail to set the clock rate.
So, this is a workaround and it can be removed when
the clock issue is properly fixed.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit fca3d4b1074fbc3ca74db040f6abdf9b614df819)
drivers/phy/phy-mixel-lvds-combo.c