diff options
author | Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> | 2019-07-01 17:01:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-26 09:13:06 +0200 |
commit | e96cbc377ca20cf0a2d725b3dd344184105c275b (patch) | |
tree | 0e7ec1011506756f1f76b2cf2c84a22102bee5c7 /mm/gup.c | |
parent | 169e979c0b037a1d94e14cde238b9853fcc985f8 (diff) | |
download | linux-stable-e96cbc377ca20cf0a2d725b3dd344184105c275b.tar.gz linux-stable-e96cbc377ca20cf0a2d725b3dd344184105c275b.tar.bz2 linux-stable-e96cbc377ca20cf0a2d725b3dd344184105c275b.zip |
mmc: sdhci-msm: fix mutex while in spinlock
commit 5e6b6651d22de109ebf48ca00d0373bc2c0cc080 upstream.
mutexes can sleep and therefore should not be taken while holding a
spinlock. move clk_get_rate (can sleep) outside the spinlock protected
region.
Fixes: 83736352e0ca ("mmc: sdhci-msm: Update DLL reset sequence")
Cc: stable@vger.kernel.org
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions