mmc: sdhci-of-at91: fix quirk2 overwrite
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 14 Nov 2019 12:59:26 +0000 (12:59 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 14 Nov 2019 13:57:53 +0000 (14:57 +0100)
commitfed23c5829ecab4ddc712d7b0046e59610ca3ba4
tree435df59784dbb6a7d64f7eabe98ff85976de153b
parent31f4f5b495a62c9a8b15b1c3581acd5efeb9af8c
mmc: sdhci-of-at91: fix quirk2 overwrite

The quirks2 are parsed and set (e.g. from DT) before the quirk for broken
HS200 is set in the driver.
The driver needs to enable just this flag, not rewrite the whole quirk set.

Fixes: 7871aa60ae00 ("mmc: sdhci-of-at91: add quirk for broken HS200")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-at91.c