]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: arm_pl180_mmci: Remove cd_inverted host's struct field
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 25 Jul 2018 15:49:09 +0000 (17:49 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Aug 2018 23:53:54 +0000 (19:53 -0400)
commit03fff97b4ff24161f5e66dab563e186a9d20525f
tree6e2dc7c12a3be4604a3adedb9e58ef659c17bb2a
parent94a8913f0fbeb642baa36321ff47a00d6e498dfb
mmc: arm_pl180_mmci: Remove cd_inverted host's struct field

As platform uses GPIOs for card detection, it's
simpler and more readable to use GPIO_ACTIVE_(LOW|HIGH)
in the gpio flags instead of using the cd-inverted
property.

Reported-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/arm_pl180_mmci.h