mmc: mmci: Add sdio enable mask in variant data
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 22 Aug 2014 04:54:55 +0000 (05:54 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Sep 2014 07:43:30 +0000 (09:43 +0200)
commit5df014df12b1178e0b76b7273913ce1531ecf20e
tree4b466c561dc867ef7ed5a72cc3b6494a7f64883b
parentce437aa4519c46a0f12455c320b6f65dde16c26e
mmc: mmci: Add sdio enable mask in variant data

This patch adds sdio enable mask in variant data, SOCs like ST have
special bits in datactrl register to enable sdio. Unconditionally setting
this bit in this driver breaks other SOCs like Qualcomm which maps this
bits to something else, so making this enable bit to come from variant
data solves the issue.

Originally the issue is detected while testing WLAN ath6kl on Qualcomm
APQ8064.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c