Patch "mmc: pxamci: fix again read-only gpio detection polarity" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
mmc: pxamci: fix again read-only gpio detection polarity
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mmc-pxamci-fix-again-read-only-gpio-detection-polarity.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
41c89159a6ae5472d39ed8bded5b3b4e07a37944Mon Sep 17 00:00:00 2001
From: Robert Jarzmik <[email protected]>
Date: Fri, 29 Jan 2016 00:21:26 +0100
Subject: mmc: pxamci: fix again read-only gpio detection polarity
From: Robert Jarzmik <[email protected]>
commit 41c89159a6ae5472d39ed8bded5b3b4e07a37944 upstream.
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.
--- drivers/mmc/host/pxamci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/pxamci.c +1 -1
@@ -804,7 +804,7 @@ static int pxamci_probe(struct platform_dev_err (&pdev->dev,"Failed requesting gpio_ro %d\n" , gpio_ro); goto out; }else { - mmc->caps |= host->pdata->gpio_card_ro_invert ? + mmc->caps2 |= host->pdata->gpio_card_ro_invert ?0 :MMC_CAP2_RO_ACTIVE_HIGH ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/mmc-pxamci-fix-again-read-only-gpio-detection-polarity.patch