phy-msm-usb: Create work queue as FREEZABLE during probe
If BSV SET is notified after PM suspend, charger work is scheduled
to do charger detection. Inside charger detection work, pm_runtime_
get_sync() gets called to bring USB out of low power mode. But it
fails during PM suspend as pm_runtime is disabled till PM resume is
complete. Hence mark work queue as FREEZABLE so that work will be
scheduled only after PM resume gets completed.
Change-Id: I9552d8edd8dc1d12c633480301bd5a0048cd1c49
Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment