diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm/0010-OMAP3-SR-disable-interrupt-by-default.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm/0010-OMAP3-SR-disable-interrupt-by-default.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm/0010-OMAP3-SR-disable-interrupt-by-default.patch b/extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm/0010-OMAP3-SR-disable-interrupt-by-default.patch new file mode 100644 index 00000000..e25c3e86 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm/0010-OMAP3-SR-disable-interrupt-by-default.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From ca5dc57538a566681731102e09a9d1865a4a7020 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nishanth Menon <nm@ti.com> | ||
3 | Date: Mon, 14 Feb 2011 12:41:10 +0530 | ||
4 | Subject: [PATCH 10/12] OMAP3+: SR: disable interrupt by default | ||
5 | |||
6 | We will enable and disable interrupt on a need basis in the class | ||
7 | driver. We need to keep the IRQ disabled by default else the | ||
8 | forceupdate or vcbypass events could trigger events that we don't | ||
9 | need/expect to handle. | ||
10 | |||
11 | This is a preparation for SmartReflex AVS class drivers such as | ||
12 | class 2 and class 1.5 which would need to use interrupts. Existing | ||
13 | SmartReflex AVS class 3 driver does not require to use interrupts | ||
14 | and is not impacted by this change. | ||
15 | |||
16 | Signed-off-by: Nishanth Menon <nm@ti.com> | ||
17 | Signed-off-by: Kevin Hilman <khilman@ti.com> | ||
18 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
19 | --- | ||
20 | arch/arm/mach-omap2/smartreflex.c | 1 + | ||
21 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
22 | |||
23 | diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c | ||
24 | index 3ee7261..616ef62 100644 | ||
25 | --- a/arch/arm/mach-omap2/smartreflex.c | ||
26 | +++ b/arch/arm/mach-omap2/smartreflex.c | ||
27 | @@ -268,6 +268,7 @@ static int sr_late_init(struct omap_sr *sr_info) | ||
28 | 0, name, (void *)sr_info); | ||
29 | if (ret) | ||
30 | goto error; | ||
31 | + disable_irq(sr_info->irq); | ||
32 | } | ||
33 | |||
34 | if (pdata && pdata->enable_on_init) | ||
35 | -- | ||
36 | 1.6.6.1 | ||
37 | |||