]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: Don't pretend all variants to have OPENDRAIN bit
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 18 Jan 2018 14:34:19 +0000 (15:34 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Jan 2018 17:14:45 +0000 (18:14 +0100)
commit9e2f6d8b80cd485985187d351bc13bcf0f452f63
tree14b68639bcb970f6ae63a16c236c1ff958840846
parentb1ac8be553f9636ba9edeb7034139926fc134986
mmc: mmci: Don't pretend all variants to have OPENDRAIN bit

This patch prepares for supporting STM32 variant which doesn't
have opendrain bit in MMCIPOWER register.
ST others variant (u300, nomadik and ux500) uses MCI_OD bit whereas
others variants uses MCI_ROD bit.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c