Skip to contentSkip to conversation

linux 3.0: fix regression introduced in 3.0.11

PATCH New Koen Kooi 1 participant 1 message Nov 30, 2011

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/1 linux 3.0: fix regression introduced in 3.0.11

Upstream has been notified, so hopefully 3.0.13 will have this fix included

---
 ...-Fix-twl4030-dependencies-for-audio-codec.patch |   26 ++++++++++++++++++++
 recipes-kernel/linux/linux_3.0.bb                  |    3 +-
 2 files changed, 28 insertions(+), 1 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-3.0/beagle/0011-Revert-mfd-Fix-twl4030-dependencies-for-audio-codec.patch
recipes-kernel/linux/linux-3.0/beagle/0011-Revert-mfd-Fix-twl4030-dependencies-for-audio-codec.patch new file +26 -0
new file mode 100644
index 0000000..527b0f5
@@ -0,0 +1,26 @@
+From 6d7bf5251219d2aa604ada2c955812b16ad5cff4 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <[email protected]>
+Date: Wed, 30 Nov 2011 09:50:56 +0100
+Subject: [PATCH] Revert "mfd: Fix twl4030 dependencies for audio codec"
+
+This reverts commit 11b8fc6ae54bf18a48c94e181c37ca135b858b42.
+---
+ drivers/mfd/twl-core.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
+index f0dfca3..e659d4e 100644
+--- a/drivers/mfd/twl-core.c
++++ b/drivers/mfd/twl-core.c
+@@ -116,7 +116,7 @@
+ #define twl_has_watchdog()        false
+ #endif
+ 
+-#if defined(CONFIG_MFD_TWL4030_AUDIO) || defined(CONFIG_MFD_TWL4030_AUDIO_MODULE) ||\
++#if defined(CONFIG_TWL4030_CODEC) || defined(CONFIG_TWL4030_CODEC_MODULE) ||\
+ 	defined(CONFIG_SND_SOC_TWL6040) || defined(CONFIG_SND_SOC_TWL6040_MODULE)
+ #define twl_has_codec()	true
+ #else
+-- 
+1.7.2.5
+
recipes-kernel/linux/linux_3.0.bb +2 -1
index 5039b22..38b90e9 100644
@@ -10,7 +10,7 @@ PV = "3.0.12"
 SRCREV_pn-${PN} = "ac6766564c0305ca020fe747dfd7dbdf0881369d"
 
 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
-MACHINE_KERNEL_PR_append = "a"
+MACHINE_KERNEL_PR_append = "b"
 
 FILESPATH =. "${FILE_DIRNAME}/linux-3.0:${FILE_DIRNAME}/linux-3.0/${MACHINE}:"
 
@@ -194,6 +194,7 @@ SRC_URI += "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gi
             file://beagle/0008-OMAP2-add-cpu-id-register-to-MAC-address-helper.patch \
             file://beagle/0009-HACK-OMAP2-BeagleBoard-Fix-up-random-or-missing-MAC-.patch \
             file://beagle/0010-ARM-OMAP2-beagleboard-fix-mmc-write-protect-pin-when.patch \
+            file://beagle/0011-Revert-mfd-Fix-twl4030-dependencies-for-audio-codec.patch \
             file://madc/0001-Enabling-Hwmon-driver-for-twl4030-madc.patch \
             file://madc/0002-mfd-twl-core-enable-madc-clock.patch \
             \
Signature · 1 line
1.7.2.5