From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ivan T. Ivanov" Subject: [PATCH v2 0/3] mmc: sdhci: Card detection fixes Date: Mon, 6 Jul 2015 15:16:18 +0300 Message-ID: <1436184981-16719-1-git-send-email-ivan.ivanov@linaro.org> Return-path: Received: from mail-wi0-f180.google.com ([209.85.212.180]:37342 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754494AbbGFMQc (ORCPT ); Mon, 6 Jul 2015 08:16:32 -0400 Received: by wiclp1 with SMTP id lp1so19259392wic.0 for ; Mon, 06 Jul 2015 05:16:31 -0700 (PDT) Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Ulf Hansson Cc: Adrian Hunter , Tim Kryger , Aisheng Dong , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org 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