From: Wu Liang feng Date: Tue, 23 Aug 2016 06:46:35 +0000 (+0800) Subject: Revert "HACK: phy: rockchip-inno-usb2: disable otg phy suspend for rk3399" X-Git-Tag: firefly_0821_release~1702 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fe61da8d4e7a97f6c0d3b18ad57dce470887b5ee;p=firefly-linux-kernel-4.4.55.git Revert "HACK: phy: rockchip-inno-usb2: disable otg phy suspend for rk3399" This reverts commit d7d2a689d4b29796018e72eb050bc3d8c61fbf37. Change-Id: I937498b790c048bcd49269f258bf59b1946e9bbd Signed-off-by: Wu Liang feng --- diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-rockchip-inno-usb2.c index dd05bff4b53c..84db228f945d 100644 --- a/drivers/phy/phy-rockchip-inno-usb2.c +++ b/drivers/phy/phy-rockchip-inno-usb2.c @@ -1213,7 +1213,7 @@ static const struct rockchip_usb2phy_cfg rk3399_phy_cfgs[] = { .clkout_ctl = { 0xe450, 4, 4, 1, 0 }, .port_cfgs = { [USB2PHY_PORT_OTG] = { - .phy_sus = { 0xe454, 1, 0, 2, 2 }, + .phy_sus = { 0xe454, 1, 0, 2, 1 }, .bvalid_det_en = { 0xe3c0, 3, 3, 0, 1 }, .bvalid_det_st = { 0xe3e0, 3, 3, 0, 1 }, .bvalid_det_clr = { 0xe3d0, 3, 3, 0, 1 }, @@ -1248,7 +1248,7 @@ static const struct rockchip_usb2phy_cfg rk3399_phy_cfgs[] = { .clkout_ctl = { 0xe460, 4, 4, 1, 0 }, .port_cfgs = { [USB2PHY_PORT_OTG] = { - .phy_sus = { 0xe464, 1, 0, 2, 2 }, + .phy_sus = { 0xe464, 1, 0, 2, 1 }, .bvalid_det_en = { 0xe3c0, 8, 8, 0, 1 }, .bvalid_det_st = { 0xe3e0, 8, 8, 0, 1 }, .bvalid_det_clr = { 0xe3d0, 8, 8, 0, 1 },