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

Commit 4941b289 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

USB: phy: Disable IRQs before resetting clocks



As a part of msm_otg_reset, we go for disabling and
enabling of clocks. There is a chance that IRQ may
get fired when the clocks are disabled. This may lead
to NOC error because of unclocked access when we try
to access some memory region as a part of IRQ handling.

Fix this by disabling IRQs before going for clock reset
and enable IRQs later.

Change-Id: I8ccec08c9c520f0573a2dbe1a9f8e780b3516e85
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent a74a42c2
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