Re: [PATCH v2] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read

2016-11-14 Thread Michael Walle
-...@vger.kernel.org; Ulf Hansson; Adrian Hunter; yangbo lu; Michael Walle Subject: [PATCH v2] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read Since commit 87a18a6a5652 ("mmc: mmc: Use ->card_busy() to detect busy cards in __mmc_switch()") the ESDHC driver is broken: mmc0: Card stuck in prog

Re: [PATCH v2] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read

2016-11-14 Thread Adrian Hunter
;> Cc: linux-...@vger.kernel.org; Ulf Hansson; Adrian Hunter; yangbo lu; >>> Michael Walle >>> Subject: [PATCH v2] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read >>> >>> Since commit 87a18a6a5652 ("mmc: mmc: Use ->card_busy() to detect busy >>&

RE: [PATCH v2] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read

2016-11-14 Thread Michael Walle
: sdhci-of-esdhc: fixup PRESENT_STATE read Since commit 87a18a6a5652 ("mmc: mmc: Use ->card_busy() to detect busy cards in __mmc_switch()") the ESDHC driver is broken: mmc0: Card stuck in programming state! __mmc_switch mmc0: error -110 whilst initialising MMC card Since this commit

RE: [PATCH v2] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read

2016-11-14 Thread Y.B. Lu
> -Original Message- > From: Michael Walle [mailto:mich...@walle.cc] > Sent: Saturday, November 12, 2016 12:04 AM > To: linux-kernel@vger.kernel.org > Cc: linux-...@vger.kernel.org; Ulf Hansson; Adrian Hunter; yangbo lu; > Michael Walle > Subject: [PATCH v2] mmc:

[PATCH v2] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read

2016-11-11 Thread Michael Walle
Since commit 87a18a6a5652 ("mmc: mmc: Use ->card_busy() to detect busy cards in __mmc_switch()") the ESDHC driver is broken: mmc0: Card stuck in programming state! __mmc_switch mmc0: error -110 whilst initialising MMC card Since this commit __mmc_switch() uses ->card_busy(), which is sdhci_car