From: Arindam Nath Date: Thu, 5 May 2011 06:49:00 +0000 (+0530) Subject: mmc: sdhci: reset sdclk before setting high speed enable X-Git-Tag: v3.0-rc1~148^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=758535c4e3cdd2b5b09565d9651aaa541aac3de8;p=pandora-kernel.git mmc: sdhci: reset sdclk before setting high speed enable As per Host Controller spec v3.00, we reset SDCLK before setting High Speed Enable, and then set it back to avoid generating clock gliches. Before enabling SDCLK again, we make sure the clock is stable, so we use sdhci_set_clock(). Tested by Zhangfei Gao with a Toshiba uhs card and general hs card, on mmp2 in SDMA mode. Signed-off-by: Arindam Nath Reviewed-by: Philip Rakity Tested-by: Philip Rakity Acked-by: Zhangfei Gao Signed-off-by: Chris Ball --- Reading git-diff-tree failed