Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromtorvalds/linux

Commite22842d

Browse files
jh80chungstorulf
authored andcommitted
mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
Before enabling the clock, dwmmc exynos driver is trying to access theregister. Then the kernel panic can be occurred.Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>Tested-by: Chanwoo Choi <cw00.choi@samsung.com>Cc: stable@vger.kernel.orgSigned-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parente74ef21 commite22842d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎drivers/mmc/host/dw_mmc-exynos.c‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,15 @@ static void dw_mci_exynos_set_clksel_timing(struct dw_mci *host, u32 timing)
165165
staticintdw_mci_exynos_runtime_resume(structdevice*dev)
166166
{
167167
structdw_mci*host=dev_get_drvdata(dev);
168+
intret;
169+
170+
ret=dw_mci_runtime_resume(dev);
171+
if (ret)
172+
returnret;
168173

169174
dw_mci_exynos_config_smu(host);
170-
returndw_mci_runtime_resume(dev);
175+
176+
returnret;
171177
}
172178

173179
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp