]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:04:11 +0000 (14:04 -0700)
commit8fd5aa097b83c976fcc6706b6424a9462d310a3c
tree57a36f85f29d442f2605f7cec9214029231aa6ca
parentfe222cc190fd322271adc166eb48600d8c842530
ARM: dts: n900: fix mmc1 card detect gpio polarity

[ Upstream commit ac9c908eecde3ed252cb1d67fc79b3c1346f76bc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/omap3-n900.dts