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

Commit 3da98b2c authored by Osvaldo Banuelos's avatar Osvaldo Banuelos Committed by Taniya Das
Browse files

clk: msm: clock-osm: remove ioremaps from panic callback



Calling ioremap() in clk_osm_panic_callback() can result in
BUG() when the kernel is panic-ing. It is not safe to use
ioremap() in atomic context. Map the debug registers at probe
time instead.

CRs-Fixed: 1086427
Change-Id: Ie14be6ee9ffbcb09009d5d05235e20f6ac215fa0
Signed-off-by: default avatarOsvaldo Banuelos <osvaldob@codeaurora.org>
parent 8bb66a7e
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