mmc: pxamci: fix read-only gpio detection polarity
authorRobert Jarzmik <robert.jarzmik@free.fr>
Thu, 5 Nov 2015 19:46:53 +0000 (20:46 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 9 Nov 2015 12:04:03 +0000 (13:04 +0100)
commit26d49fe7195385f2f1e406feddb01c16b53e77b6
treeebb342db489c484d3828cae6e8ca1f9ed95a437e
parentce5c2d2c256a4c8b523036537cd6be2d6af8f69d
mmc: pxamci: fix read-only gpio detection polarity

The commit converting pxamci to slot-gpio API inverted the logic of the
read-only gpio. Fix it by inverting the logic again.

Fixes: fd546ee6a7dc ("mmc: pxamci: fix card detect with slot-gpio API")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/pxamci.c