mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
phy: rockchip: mipi-dcphy: reset apb before access registers
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com> Change-Id: I3d6539549b9d24e1c0d94b86e1c57bf8346b49cc
This commit is contained in:
@@ -1682,6 +1682,9 @@ static int samsung_mipi_dcphy_power_on(struct phy *phy)
|
||||
enum phy_mode mode = phy_get_mode(phy);
|
||||
|
||||
pm_runtime_get_sync(samsung->dev);
|
||||
reset_control_assert(samsung->apb_rst);
|
||||
udelay(1);
|
||||
reset_control_deassert(samsung->apb_rst);
|
||||
|
||||
switch (mode) {
|
||||
case PHY_MODE_MIPI_DPHY:
|
||||
|
||||
Reference in New Issue
Block a user