]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dts: imx25: fix sd card gpio polarity specified in device tree
authorDong Aisheng <aisheng.dong@freescale.com>
Wed, 22 Jul 2015 12:53:03 +0000 (20:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:43:21 +0000 (14:43 -0700)
commit1c65e22e91c6adcb8bdf2e3097c2f4cffa3f3102
tree8e88b99f5d54e46e2fbb13150a93ea90d1d64ac1
parent958847c5ed05cc1feb4b6202db98c893aed8c678
dts: imx25: fix sd card gpio polarity specified in device tree

commit cf75eb15be2bdd054a76aeef6458beaa4a6ab770 upstream.

cd-gpios polarity should be changed to GPIO_ACTIVE_LOW and wp-gpios
should be changed to GPIO_ACTIVE_HIGH.
Otherwise, the SD may not work properly due to wrong polarity inversion
specified in DT after switch to common parsing function mmc_of_parse().

Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/imx25-pdk.dts