]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: put together into one condition checking
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 7 Oct 2016 05:08:43 +0000 (14:08 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:27 +0000 (09:00 +0100)
commitd20961de3aed6229ace01c86b068d4bdd2da99d3
tree86c81a390f24cc0ebc0d0c6ff9cbaa4dc4a92e67
parentb441c32d9d6a53d0eb4adb2555067df273441e14
mmc: sdhci: put together into one condition checking

value of ios->timing is not related with SDCHI v3.0.  If Controller version
is v3.0, SDHCI_QUIRK_NO_HISPD_BIT is meaningless.  To prevent the setting
wrong bit moves into one condition checking.  (e.g sdhci-s3c doesn't use
SDHCI_CTRL_HISPD bit, instead using this bit as other purpose.)

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c