]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: key 8BITBUS bit off MMC_CAP_8_BIT_DATA
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Mon, 14 Aug 2017 20:00:24 +0000 (22:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:34 +0000 (15:03 +0200)
commit4611eb82a61aa7401b182edf716d047a917bd1c0
treef5f9cd0ce457e59d79c404bc6ac809b47940061e
parentf9ba436c0b3a8204219a174ed10bc5c5e956de4d
mmc: sdhci: key 8BITBUS bit off MMC_CAP_8_BIT_DATA

Hosts supporting 8-bit bus are marked accordingly. If MMC_CAP_8_BIT_DATA
is not among host capabilities, 8BITBUS bit will never be set and it
is not cleared in case some non-SDHCI3 host uses it for something else.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c