aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-09-27 01:28:06 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-11 21:09:18 +0200
commit61860a395c0e0e651283b90d928bbedc61f99ba4 (patch)
tree4f8324777ab32b61d8ff6158a4bc9770549f9e87
parent55fc044b8102b29d164a6a724594292b3a8a8cc8 (diff)
downloadkernel_samsung_tuna-61860a395c0e0e651283b90d928bbedc61f99ba4.tar.gz
kernel_samsung_tuna-61860a395c0e0e651283b90d928bbedc61f99ba4.tar.bz2
kernel_samsung_tuna-61860a395c0e0e651283b90d928bbedc61f99ba4.zip
mmc: quirks: disable TEST_MMC_FW_PATCHING
I'm randomly getting broken kernels with this problematic emmc since switching to GCC 4.8. The problem seems to happen inside the mmc firmware patching procedure. We tried to disable GCC optimizations for these methods, but that didn't always fix the issue. By disabling TEST_MMC_FW_PATCHING, it seems like the kernel somewhat stabilized - we need to look into why it caused broken kernels/emmc lockups in the future. Change-Id: I7cf8fe14e7ab0358228a844c582e17d6bf9731a1
-rw-r--r--drivers/mmc/core/quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/quirks.c b/drivers/mmc/core/quirks.c
index 2d508b9fe15..c3dc4f349a3 100644
--- a/drivers/mmc/core/quirks.c
+++ b/drivers/mmc/core/quirks.c
@@ -169,7 +169,7 @@ static int mmc_movi_erase_cmd(struct mmc_card *card,
return err;
}
-#define TEST_MMC_FW_PATCHING
+//#define TEST_MMC_FW_PATCHING
#if defined(CONFIG_MMC_SAMSUNG_SMART) || defined(TEST_MMC_FW_PATCHING)
static struct mmc_command wcmd;