ARM: davinci: board-da850-evm: fix WP pin polarity for MMC/SD
authorAdam Ford <aford173@gmail.com>
Fri, 18 May 2018 01:20:52 +0000 (20:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:09:07 +0000 (13:09 +0200)
commit1ea053d1cc8bc6e52e5ecb34cafc1e41d33d5602
tree79b682c9bd40d3dd36d9b8dfcd8f337dfac62bb4
parent0f868ad81facb32633f528bf5674cd3db025671b
ARM: davinci: board-da850-evm: fix WP pin polarity for MMC/SD

[ Upstream commit 1b6fe9798af8cb7d80fad5dd30ee1bcd1e0f51eb ]

When booting from MMC/SD in rw mode on DA850 EVM, the system
crashes because the write protect pin should be active high
and not active low. This patch fixes the polarity of the WP pin.

Fixes: bdf0e8364fd3 ("ARM: davinci: da850-evm: use gpio descriptor for mmc pins")
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-davinci/board-da850-evm.c