diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-08-22 23:10:01 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-09-04 13:58:06 -0400 |
commit | 74f330bceaa7b88d06062e1cac3d519a3dfc041e (patch) | |
tree | 52fa68bec236d867c19a92fcb159180ec2b311bd /kernel | |
parent | fc108d24d3a6da63576a460e122fa1df0cbdea20 (diff) |
mmc: sdhci-esdhc: break out early if clock is 0
Since commit 30832ab56 ("mmc: sdhci: Always pass clock request value
zero to set_clock host op") was merged, esdhc_set_clock starts hitting
"if (clock == 0)" where ESDHC_SYSTEM_CONTROL has been operated. This
causes SDHCI card-detection function being broken. Fix the regression
by moving "if (clock == 0)" above ESDHC_SYSTEM_CONTROL operation.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions