mmc: pxamci: fix again read-only gpio detection polarity
authorRobert Jarzmik <robert.jarzmik@free.fr>
Thu, 28 Jan 2016 23:21:26 +0000 (00:21 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 2 Feb 2016 11:44:22 +0000 (12:44 +0100)
commit41c89159a6ae5472d39ed8bded5b3b4e07a37944
tree42dfca1043f5aaf8bbd3cc5825d981d632cc02b5
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
mmc: pxamci: fix again read-only gpio detection polarity

The commit fixing the conversion of pxamci to slot-gpio API fixed the
inverted the logic of the read-only gpio. Unfortunately, the commit was
tested on a non-inverted gpio, and not on the inverted one. And the fix
did work partially, by luck.

This is the remaining missing part of the fix, trivial but still necessary.

Fixes: Fixes: 26d49fe71953 ("mmc: pxamci: fix read-only gpio detection polarity")
Reported-by: Andrea Adami <andrea.adami@gmail.com>
Tested-by: Andrea Adami <andrea.adami@gmail.com>
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