[Letux-kernel] [PATCH] mmc: hack pwrseq to fix gta04 bt problems

Andreas Kemnade andreas at kemnade.info
Mon Feb 8 22:17:02 CET 2016


The reset pin is set to 1 (= inactive, so the 0 in the code)
if mmc is powered off. That make bluetooth usable without wifi on
gta04

Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
 drivers/mmc/core/pwrseq_simple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/core/pwrseq_simple.c b/drivers/mmc/core/pwrseq_simple.c
index aba786d..6ac5a82 100644
--- a/drivers/mmc/core/pwrseq_simple.c
+++ b/drivers/mmc/core/pwrseq_simple.c
@@ -69,7 +69,7 @@ static void mmc_pwrseq_simple_power_off(struct mmc_host *host)
 	struct mmc_pwrseq_simple *pwrseq = container_of(host->pwrseq,
 					struct mmc_pwrseq_simple, pwrseq);
 
-	mmc_pwrseq_simple_set_gpios_value(pwrseq, 1);
+	mmc_pwrseq_simple_set_gpios_value(pwrseq, 0);
 
 	if (!IS_ERR(pwrseq->ext_clk) && pwrseq->clk_enabled) {
 		clk_disable_unprepare(pwrseq->ext_clk);
-- 
2.1.4



More information about the Letux-kernel mailing list