Re: [PATCH v2 0/3] mmc: sdhci: Card detection fixes

2015-07-20 Thread Ulf Hansson
On 6 July 2015 at 14:16, Ivan T. Ivanov ivan.iva...@linaro.org wrote:
 Following changes aimed to fix some aspects of card detection, when
 BROKEN_CARD_DETECTION quirk is set.

 Changes since first version [1]:

 * Patch 1/3 is a modified to first check for MMC_CAP_NONREMOVABLE
   and then check for a valid value in gpio_cd

 [1] http://permalink.gmane.org/gmane.linux.kernel.mmc/32875

 Ivan T. Ivanov (3):
   mmc: sdhci: let GPIO based card detection have higher precedence
   mmc: sdhci: don't use card state polling when CD GPIO is defined
   mmc: sdhci: properly check card present state when quirk
 NO_CARD_NO_RESET is set

  drivers/mmc/host/sdhci.c | 20 +---
  1 file changed, 13 insertions(+), 7 deletions(-)

 --
 1.9.1


Thanks, applied!

Kind regards
Uffe
--
To unsubscribe from this list: send the line unsubscribe linux-arm-msm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v2 0/3] mmc: sdhci: Card detection fixes

2015-07-06 Thread Ivan T. Ivanov
Following changes aimed to fix some aspects of card detection, when
BROKEN_CARD_DETECTION quirk is set.

Changes since first version [1]:

* Patch 1/3 is a modified to first check for MMC_CAP_NONREMOVABLE
  and then check for a valid value in gpio_cd

[1] http://permalink.gmane.org/gmane.linux.kernel.mmc/32875

Ivan T. Ivanov (3):
  mmc: sdhci: let GPIO based card detection have higher precedence
  mmc: sdhci: don't use card state polling when CD GPIO is defined
  mmc: sdhci: properly check card present state when quirk
NO_CARD_NO_RESET is set

 drivers/mmc/host/sdhci.c | 20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)

--
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-arm-msm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html