summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2015-04-27 13:56:11 -0400
committerMike Pagano <mpagano@gentoo.org>2015-04-27 13:56:11 -0400
commitf2dffc7244ec86ad41fde2ee164a4082c974ade5 (patch)
treef45dbcef6f0a9057276f90b7ee748b2383cd8890
parentUpdate gcc >= 4.9 optimization patch. See bug #544028. (diff)
downloadlinux-patches-f2dffc7244ec86ad41fde2ee164a4082c974ade5.tar.gz
linux-patches-f2dffc7244ec86ad41fde2ee164a4082c974ade5.tar.bz2
linux-patches-f2dffc7244ec86ad41fde2ee164a4082c974ade5.zip
Patch to select REGMAP_IRQ for rt5033 mfd driver. See bug #546938.
-rw-r--r--0000_README6
-rw-r--r--2600_select-REGMAP_IRQ-for-rt5033.patch30
2 files changed, 35 insertions, 1 deletions
diff --git a/0000_README b/0000_README
index ca06e069..0cdee6da 100644
--- a/0000_README
+++ b/0000_README
@@ -49,7 +49,11 @@ Desc: Support for namespace user.pax.* on tmpfs.
Patch: 1510_fs-enable-link-security-restrictions-by-default.patch
From: http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/
-Desc: Enable link security restrictions by default
+Desc: Enable link security restrictions by default.
+
+Patch: 2600_select-REGMAP_IRQ-for-rt5033.patch
+From: http://git.kernel.org/
+Desc: mfd: rt5033: MFD_RT5033 needs to select REGMAP_IRQ. See bug #546938.
Patch: 2700_ThinkPad-30-brightness-control-fix.patch
From: Seth Forshee <seth.forshee@canonical.com>
diff --git a/2600_select-REGMAP_IRQ-for-rt5033.patch b/2600_select-REGMAP_IRQ-for-rt5033.patch
new file mode 100644
index 00000000..92fb2e0b
--- /dev/null
+++ b/2600_select-REGMAP_IRQ-for-rt5033.patch
@@ -0,0 +1,30 @@
+From 23a2a22a3f3f17de094f386a893f7047c10e44a0 Mon Sep 17 00:00:00 2001
+From: Artem Savkov <asavkov@redhat.com>
+Date: Thu, 5 Mar 2015 12:42:27 +0100
+Subject: mfd: rt5033: MFD_RT5033 needs to select REGMAP_IRQ
+
+Since commit 0b2712585(linux-next.git) this driver uses regmap_irq and so needs
+to select REGMAP_IRQ.
+
+This fixes the following compilation errors:
+ERROR: "regmap_irq_get_domain" [drivers/mfd/rt5033.ko] undefined!
+ERROR: "regmap_add_irq_chip" [drivers/mfd/rt5033.ko] undefined!
+
+Signed-off-by: Artem Savkov <asavkov@redhat.com>
+Signed-off-by: Lee Jones <lee.jones@linaro.org>
+
+diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
+index f8ef77d9a..f49f404 100644
+--- a/drivers/mfd/Kconfig
++++ b/drivers/mfd/Kconfig
+@@ -680,6 +680,7 @@ config MFD_RT5033
+ depends on I2C=y
+ select MFD_CORE
+ select REGMAP_I2C
++ select REGMAP_IRQ
+ help
+ This driver provides for the Richtek RT5033 Power Management IC,
+ which includes the I2C driver and the Core APIs. This driver provides
+--
+cgit v0.10.2
+