Commit f21da230 authored by Georgi Djakov's avatar Georgi Djakov Committed by Srinivas Kandagatla
Browse files

iommu/msm: Fix "scheduling while atomic" bug



In the msm iommu driver currently we incorrectly use clk_prepare_enable()
and clk_disable_unprepare() functions that are sleeping and should not be
called in atomic context. Fix this by preparing clocks in advance and use
only clk_enable() in atomic context.

Signed-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
parent aa5af9e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment