Commit 05f72329 authored by Haibo Chen's avatar Haibo Chen Committed by Nitin Garg
Browse files

MLK-11397 mmc: sdhci-esdhc-imx: move the setting of watermark level out of probe



Currently, we config the watermark_level register only in probe.
This will cause the mmc write operation timeout issue after system
resume back in LPSR mode. Because in LPSR mode, after system resume
back, the watermark_level register(0x44) changes to 0x08000880, which
set the write watermark level as 0, and set the read watermark level
as 128. This value is incorrect.

This patch move the setting of watermark level register out of probe,
so after system resume back, mmc driver will set back this watermark
level register back to 0x10401040.

Signed-off-by: default avatarHaibo Chen <haibo.chen@freescale.com>
parent 361de366
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment