Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddc9ac65 authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: ehci-msm-hsic: use work_queue to invoke runtime_pm_allow



runtime_pm_allow() uses spin_lock_irq and spin_unlock_irq
which unconditionally enables irq irrespective of irq status.
Hence, this API shouldn't be called from interrupt context.
Use work_queue in driver to invoke runtime_pm_allow() instead
of isr.

Change-Id: If9f483573ffd188effcfc3871edaf205aa889e22
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 5e6bd0a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment