mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 19:23:03 +01:00
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>
39 lines
1022 B
Diff
39 lines
1022 B
Diff
TWL4030: clear MADC interrupt status registers upon init
|
|
|
|
From: Paul Walmsley <paul@pwsan.com>
|
|
|
|
twl_init_irq() does not clear MADC interrupt status registers upon init -
|
|
fix.
|
|
|
|
Signed-off-by: Paul Walmsley <paul@pwsan.com>
|
|
---
|
|
|
|
drivers/i2c/chips/twl4030-core.c | 14 ++++++++++++++
|
|
1 files changed, 14 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/drivers/i2c/chips/twl4030-core.c b/drivers/i2c/chips/twl4030-core.c
|
|
index bb0732c..9d93524 100644
|
|
--- a/drivers/i2c/chips/twl4030-core.c
|
|
+++ b/drivers/i2c/chips/twl4030-core.c
|
|
@@ -821,6 +821,20 @@ static void twl_init_irq(void)
|
|
return;
|
|
}
|
|
|
|
+ /* MADC_ISR1 */
|
|
+ res = twl4030_i2c_write_u8(TWL4030_MODULE_MADC, 0xFF, 0x61);
|
|
+ if (res < 0) {
|
|
+ pr_err("%s[%d][%d]\n", msg, res, __LINE__);
|
|
+ return;
|
|
+ }
|
|
+
|
|
+ /* MADC_ISR2 */
|
|
+ res = twl4030_i2c_write_u8(TWL4030_MODULE_MADC, 0xFF, 0x63);
|
|
+ if (res < 0) {
|
|
+ pr_err("%s[%d][%d]\n", msg, res, __LINE__);
|
|
+ return;
|
|
+ }
|
|
+
|
|
/* key Pad */
|
|
/* KEYPAD - IMR1 */
|
|
res = twl4030_i2c_write_u8(TWL4030_MODULE_KEYPAD, 0xFF, (0x12));
|