[Wily] UBUNTU: [Config] CONFIG_I2C_DESIGNWARE_BAYTRAIL=y, CONFIG_IOSF_MBI=y
diff mbox

Message ID 1450338882-9226-1-git-send-email-hui.wang@canonical.com
State New
Headers show

Commit Message

Hui Wang Dec. 17, 2015, 7:54 a.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1527096

This commit wants to enable the Intel Baytrail I2C semaphore, this
driver was added into the kernel from v4.0.

The driver implements a hardware semphore to protect the I2C bus to
be shared among several users safely.

We have met a problem on a Cherry Trail platform, when we insert the
SD storage card into the SD slot, the system will hang, after enable
this driver in the kernel, the problem disappers.

This driver depends on the "CONFIG_IOSF_MBI=y", so we change this
config item from m to y.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 debian.master/config/config.common.ubuntu | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tim Gardner Dec. 17, 2015, 12:27 p.m. UTC | #1

Brad Figg Dec. 17, 2015, 4:04 p.m. UTC | #2

Kamal Mostafa Dec. 17, 2015, 5:16 p.m. UTC | #3

Patch
diff mbox

diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 2a605ff..9f7e659 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -3131,6 +3131,7 @@  CONFIG_I2C_CROS_EC_TUNNEL=m
 # CONFIG_I2C_DEBUG_ALGO is not set
 # CONFIG_I2C_DEBUG_BUS is not set
 # CONFIG_I2C_DEBUG_CORE is not set
+CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
 CONFIG_I2C_DESIGNWARE_CORE=m
 CONFIG_I2C_DESIGNWARE_PCI=m
 CONFIG_I2C_DESIGNWARE_PLATFORM=m
@@ -3493,7 +3494,7 @@  CONFIG_IOMMU_SUPPORT=y
 CONFIG_IOSCHED_CFQ=y
 CONFIG_IOSCHED_DEADLINE=y
 CONFIG_IOSCHED_NOOP=y
-CONFIG_IOSF_MBI=m
+CONFIG_IOSF_MBI=y
 CONFIG_IOSF_MBI_DEBUG=y
 # CONFIG_IO_DELAY_0X80 is not set
 CONFIG_IO_DELAY_0XED=y