phy: rockchip-inno-usb2: don't cancel otg_sm_work when phy exit
authorWu Liang feng <wulf@rock-chips.com>
Mon, 15 Aug 2016 07:47:21 +0000 (15:47 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 17 Aug 2016 10:40:18 +0000 (18:40 +0800)
commit7b082cbcee5be6eb89e91be4df173915043cfbbb
treeb221a3178bdd3897c898eb7875d1feab51cb0495
parent077b494a0eacdbaf5e07c00f1c8f50baa0c5e82f
phy: rockchip-inno-usb2: don't cancel otg_sm_work when phy exit

The otg_sm_work is a OTG state machine delay work. It will hold
a wake lock if SDP cable or CDP cable is attached, and release
the wake lock if cable dettached. If usb controller(e.g. DWC3)
call phy exit When USB cable is dettached and cancel otg_sm_work,
it will cause the usb phy keeping hold of wake lock.

Change-Id: Ie6a89e481b8d4999a996083709bacc5be901805a
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
drivers/phy/phy-rockchip-inno-usb2.c