OSDN Git Service

ARM: dts: n900: fix mmc1 card detect gpio polarity
authorArthur Demchenkov <spinal.by@gmail.com>
Mon, 21 Jan 2019 03:21:09 +0000 (06:21 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Jan 2019 00:14:15 +0000 (16:14 -0800)
commitac9c908eecde3ed252cb1d67fc79b3c1346f76bc
tree4633b8653f25afb0f52e521ad43e4fe0f10b3dfb
parent5b90df44fd9b415d8c5d11b92746212a63d3c47f
ARM: dts: n900: fix mmc1 card detect gpio polarity

Wrong polarity of card detect GPIO pin leads to the system not
booting from external mmc, if the back cover of N900 is closed.
When the cover is open the system boots fine.

This wasn't noticed before, because of a bug, which was fixed
by commit e63201f19 (mmc: omap_hsmmc: Delete platform data GPIO
CD and WP).

Kernels up to 4.19 ignored the card detect GPIO from DT.

Fixes: e63201f19438 ("mmc: omap_hsmmc: Delete platform data GPIO CD and WP")
Signed-off-by: Arthur Demchenkov <spinal.by@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n900.dts