[OS-BUILD PATCHv2] configs: rhel: Fix designware I2C controllers related config settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hans de Goede <hdegoede@xxxxxxxxxx>

configs: rhel: Fix designware I2C controllers related config settings

Before 6.12 CONFIG_I2C_DESIGNWARE_CORE was not user selectable, instead
it was automatically selected by CONFIG_I2C_DESIGNWARE_PLATFORM /
CONFIG_I2C_DESIGNWARE_PCI.

Commit 9d1fbf22cff7 ("[redhat] New configs in drivers/i2c") created
redhat/configs/rhel/generic/CONFIG_I2C_DESIGNWARE_CORE with
"# CONFIG_I2C_DESIGNWARE_CORE is not set" to deal with it now
being user selectable.

This is causing the other CONFIG_I2C_DESIGNWARE_* options to be
disabled breaking anything connected to any designware I2C controllers,
such as touchpads, accelerometers, fuel-gauges, USB Type-C controllers,
camera sensors, etc.

This commit changes 2 designware I2C controllers configs to fix things:

1. Change the generic CONFIG_I2C_DESIGNWARE_CORE to 'm' to re-enable
CONFIG_I2C_DESIGNWARE_PLATFORM which is 'm' in RHEL.

2. The designware I2C drivers should not be build on s390x, change
the existing unsetting of CONFIG_I2C_DESIGNWARE_PLATFORM on s390x to
unset CONFIG_I2C_DESIGNWARE_CORE to disable all designware I2C drivers.

Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>

diff --git a/redhat/configs/rhel/generic/CONFIG_I2C_DESIGNWARE_CORE b/redhat/configs/rhel/generic/CONFIG_I2C_DESIGNWARE_CORE
index blahblah..blahblah 100644
--- a/redhat/configs/rhel/generic/CONFIG_I2C_DESIGNWARE_CORE
+++ b/redhat/configs/rhel/generic/CONFIG_I2C_DESIGNWARE_CORE
@@ -1 +1 @@
-# CONFIG_I2C_DESIGNWARE_CORE is not set
+CONFIG_I2C_DESIGNWARE_CORE=m
diff --git a/redhat/configs/rhel/generic/s390x/CONFIG_I2C_DESIGNWARE_CORE b/redhat/configs/rhel/generic/s390x/CONFIG_I2C_DESIGNWARE_CORE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/rhel/generic/s390x/CONFIG_I2C_DESIGNWARE_CORE
@@ -0,0 +1 @@
+# CONFIG_I2C_DESIGNWARE_CORE is not set
diff --git a/redhat/configs/rhel/generic/s390x/CONFIG_I2C_DESIGNWARE_PLATFORM b/redhat/configs/rhel/generic/s390x/CONFIG_I2C_DESIGNWARE_PLATFORM
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/s390x/CONFIG_I2C_DESIGNWARE_PLATFORM
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_I2C_DESIGNWARE_PLATFORM is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3431

-- 
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux