]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmc: Fix incorrect use of driver strength switching HS200 and HS400
authorWenkai Du <wenkai.du@intel.com>
Thu, 26 Nov 2015 12:00:44 +0000 (14:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 22 Dec 2015 10:32:13 +0000 (11:32 +0100)
commit7fd1343f05ef3dc630be868342df7a550d714a47
tree7c7bcf2b646979be3b7679aaf040be864ad92cc7
parent9cfa4bf75b76a747f8957fc0c629a3bd6df67b81
mmc: mmc: Fix incorrect use of driver strength switching HS200 and HS400

Commit 479c0c8346b1 ("mmc: mmc: Add driver strength selection")
added driver strength selection for eMMC HS200 and HS400 modes.
That patch also set the driver stength when transitioning through
High Speed mode to HS200/HS400, but driver strength is not defined
for High Speed mode.  While the JEDEC specification is not clear
on this point it has been observed to cause problems for some eMMC,
and removing the driver strength setting in this case makes it
consistent with the normal use of High Speed mode.

Signed-off-by: Wenkai Du <wenkai.du@intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c