summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/TWL4030-01.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-omap2-git/beagleboard/TWL4030-01.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap2-git/beagleboard/TWL4030-01.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap2-git/beagleboard/TWL4030-01.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/TWL4030-01.patch b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/TWL4030-01.patch
new file mode 100644
index 0000000000..c361c33d61
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/TWL4030-01.patch
@@ -0,0 +1,43 @@
1TWL4030: remove superfluous PWR interrupt status clear before masking
2
3From: Paul Walmsley <paul@pwsan.com>
4
5twl_irq_init() clears PWR interrupt status bits, then masks the interrupts
6off, then clears the PWR interrupt status bits again. The first clear
7seems unnecessary, so, remove it.
8
9Signed-off-by: Paul Walmsley <paul@pwsan.com>
10---
11
12 drivers/i2c/chips/twl4030-core.c | 18 ------------------
13 1 files changed, 0 insertions(+), 18 deletions(-)
14
15diff --git a/drivers/i2c/chips/twl4030-core.c b/drivers/i2c/chips/twl4030-core.c
16index adc45d4..ff662bc 100644
17--- a/drivers/i2c/chips/twl4030-core.c
18+++ b/drivers/i2c/chips/twl4030-core.c
19@@ -719,24 +719,6 @@ static void twl_init_irq(void)
20 char *msg = "Unable to register interrupt subsystem";
21 unsigned int irq_num;
22
23- /*
24- * We end up with interrupts from other modules before
25- * they get a chance to handle them...
26- */
27- /* PWR_ISR1 */
28- res = twl4030_i2c_write_u8(TWL4030_MODULE_INT, 0xFF, 0x00);
29- if (res < 0) {
30- pr_err("%s[%d][%d]\n", msg, res, __LINE__);
31- return;
32- }
33-
34- /* PWR_ISR2 */
35- res = twl4030_i2c_write_u8(TWL4030_MODULE_INT, 0xFF, 0x02);
36- if (res < 0) {
37- pr_err("%s[%d][%d]\n", msg, res, __LINE__);
38- return;
39- }
40-
41 /* PWR_IMR1 */
42 res = twl4030_i2c_write_u8(TWL4030_MODULE_INT, 0xFF, 0x1);
43 if (res < 0) {