]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00234933 mmc: sdhci: invalid cd_gpio for always_present host controller
authorRyan QIAN <b32804@freescale.com>
Tue, 27 Nov 2012 23:54:32 +0000 (07:54 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:46 +0000 (08:35 +0200)
commit582d85f5eb14839292c21c78e38ee299a53c525b
treefa5a67f4e88946ded4564c4331aa9c988ca2b99b
parente01bf5823625f5dc40ff8f71696c8e869fba2e5f
ENGR00234933 mmc: sdhci: invalid cd_gpio for always_present host controller

Issue:
By default, cd_gpio is 0 for always presented host controller, which is a
valid gpio. Then it will result to free_irq for 0 in esdhc_pltfm_exit for
these always_present host controllers.

Fix:
Invalid cd_gpio if the controller is indicated to be always present.

Acked-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Ryan QIAN <b32804@freescale.com>
drivers/mmc/host/sdhci-esdhc-imx.c