USB: phy-msm-usb: Queue smwork from PM notify in device mode
Fast plug out and plugin of dcp charger in PM suspend
state may lead to a state where phy reset have turned
off clocks and msm_otg_suspend access registers leading
to noc errors.
Like in host bus suspend, smwork to be queued
in device mode as well. This will fix such races
during PM resume, and always serialize the access
of smwork, suspend and resume calls.
CRs-Fixed: 684659
Change-Id: Icf5542f1c685d11d9d21eb374f2a7ea4ab2d345b
Signed-off-by:
Sujeet Kumar <ksujeet@codeaurora.org>
Loading
Please register or sign in to comment