]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: sdhci: clean up sdhci_execute_tuning() decision
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 Apr 2014 11:59:36 +0000 (12:59 +0100)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 12:33:26 +0000 (08:33 -0400)
commit4b6f37d3a379b09840c482bc4dcb9c3b4f7246c1
treec2448d58c5ce423fc338f5dc948f2b0d952907c7
parentd975f121011a58223c7936ab483c3374a83236c3
mmc: sdhci: clean up sdhci_execute_tuning() decision

Clean up the code in sdhci_execute_tuning() so the decision whether
to execute tuning is clearer - and despite this reflecting what the
original code was doing, it shows that it may not be what the author
actually intended.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci.c