Commit 167bfce3 authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz Committed by Julan Hsu
Browse files

UPSTREAM: mmc: sdhci-msm: fix mutex while in spinlock

mutexes can sleep and therefore should not be taken while holding a
spinlock. move clk_get_rate (can sleep) outside the spinlock protected
region.

BUG=b:136220108
TEST=Tested on SoC QCS404

(cherry picked from commit 5e6b6651
https://github.com/torvalds/linux.git

)

Change-Id: Ia185975b4fdabc9ae341e9f23d5cb68f8f937966
Signed-off-by: default avatarJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarVamsi Singamsetty <vamssi@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1708544


Reviewed-by: default avatarJulan Hsu <julanhsu@google.com>
Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Tested-by: default avatarJulan Hsu <julanhsu@google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
parent 8dde5615
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment