1 |
commit: f2dffc7244ec86ad41fde2ee164a4082c974ade5 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 27 17:56:11 2015 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 27 17:56:11 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=f2dffc72 |
7 |
|
8 |
Patch to select REGMAP_IRQ for rt5033 mfd driver. See bug #546938. |
9 |
|
10 |
0000_README | 6 +++++- |
11 |
2600_select-REGMAP_IRQ-for-rt5033.patch | 30 ++++++++++++++++++++++++++++++ |
12 |
2 files changed, 35 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/0000_README b/0000_README |
15 |
index ca06e06..0cdee6d 100644 |
16 |
--- a/0000_README |
17 |
+++ b/0000_README |
18 |
@@ -49,7 +49,11 @@ Desc: Support for namespace user.pax.* on tmpfs. |
19 |
|
20 |
Patch: 1510_fs-enable-link-security-restrictions-by-default.patch |
21 |
From: http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/ |
22 |
-Desc: Enable link security restrictions by default |
23 |
+Desc: Enable link security restrictions by default. |
24 |
+ |
25 |
+Patch: 2600_select-REGMAP_IRQ-for-rt5033.patch |
26 |
+From: http://git.kernel.org/ |
27 |
+Desc: mfd: rt5033: MFD_RT5033 needs to select REGMAP_IRQ. See bug #546938. |
28 |
|
29 |
Patch: 2700_ThinkPad-30-brightness-control-fix.patch |
30 |
From: Seth Forshee <seth.forshee@×××××××××.com> |
31 |
|
32 |
diff --git a/2600_select-REGMAP_IRQ-for-rt5033.patch b/2600_select-REGMAP_IRQ-for-rt5033.patch |
33 |
new file mode 100644 |
34 |
index 0000000..92fb2e0 |
35 |
--- /dev/null |
36 |
+++ b/2600_select-REGMAP_IRQ-for-rt5033.patch |
37 |
@@ -0,0 +1,30 @@ |
38 |
+From 23a2a22a3f3f17de094f386a893f7047c10e44a0 Mon Sep 17 00:00:00 2001 |
39 |
+From: Artem Savkov <asavkov@××××××.com> |
40 |
+Date: Thu, 5 Mar 2015 12:42:27 +0100 |
41 |
+Subject: mfd: rt5033: MFD_RT5033 needs to select REGMAP_IRQ |
42 |
+ |
43 |
+Since commit 0b2712585(linux-next.git) this driver uses regmap_irq and so needs |
44 |
+to select REGMAP_IRQ. |
45 |
+ |
46 |
+This fixes the following compilation errors: |
47 |
+ERROR: "regmap_irq_get_domain" [drivers/mfd/rt5033.ko] undefined! |
48 |
+ERROR: "regmap_add_irq_chip" [drivers/mfd/rt5033.ko] undefined! |
49 |
+ |
50 |
+Signed-off-by: Artem Savkov <asavkov@××××××.com> |
51 |
+Signed-off-by: Lee Jones <lee.jones@××××××.org> |
52 |
+ |
53 |
+diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig |
54 |
+index f8ef77d9a..f49f404 100644 |
55 |
+--- a/drivers/mfd/Kconfig |
56 |
++++ b/drivers/mfd/Kconfig |
57 |
+@@ -680,6 +680,7 @@ config MFD_RT5033 |
58 |
+ depends on I2C=y |
59 |
+ select MFD_CORE |
60 |
+ select REGMAP_I2C |
61 |
++ select REGMAP_IRQ |
62 |
+ help |
63 |
+ This driver provides for the Richtek RT5033 Power Management IC, |
64 |
+ which includes the I2C driver and the Core APIs. This driver provides |
65 |
+-- |
66 |
+cgit v0.10.2 |
67 |
+ |