diff options
Diffstat (limited to 'recipes-kernel/linux/linux-3.0/misc/0002-OMAP2-OPP-allow-OPP-enumeration-to-continue-if-devic.patch')
-rw-r--r-- | recipes-kernel/linux/linux-3.0/misc/0002-OMAP2-OPP-allow-OPP-enumeration-to-continue-if-devic.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/recipes-kernel/linux/linux-3.0/misc/0002-OMAP2-OPP-allow-OPP-enumeration-to-continue-if-devic.patch b/recipes-kernel/linux/linux-3.0/misc/0002-OMAP2-OPP-allow-OPP-enumeration-to-continue-if-devic.patch deleted file mode 100644 index 70193813..00000000 --- a/recipes-kernel/linux/linux-3.0/misc/0002-OMAP2-OPP-allow-OPP-enumeration-to-continue-if-devic.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From c15f217f7d07c460763a092f31f61b1975a18563 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nishanth Menon <nm@ti.com> | ||
3 | Date: Fri, 16 Mar 2012 11:19:09 -0500 | ||
4 | Subject: [PATCH 2/2] OMAP2+: OPP: allow OPP enumeration to continue if device is not present | ||
5 | |||
6 | On platforms such as OMAP3, certain variants may not have IVA, SGX | ||
7 | or some specific component. We currently have a check to aid fixing | ||
8 | wrong population of OPP entries for issues such as typos. This however | ||
9 | causes a conflict with valid requirement where the SoC variant does | ||
10 | not actually have the module present. | ||
11 | |||
12 | So, reduce the severity of the print to a debug statement and skip | ||
13 | registering that specific OPP, but continue down the list. | ||
14 | |||
15 | Reported-by: Steve Sakoman <steve@sakoman.com> | ||
16 | Reported-by: Maximilian Schwerin <mvs@tigris.de> | ||
17 | Acked-by: Steve Sakoman <steve@sakoman.com> | ||
18 | Tested-by: Maximilian Schwerin <mvs@tigris.de> | ||
19 | Signed-off-by: Nishanth Menon <nm@ti.com> | ||
20 | --- | ||
21 | arch/arm/mach-omap2/opp.c | 4 ++-- | ||
22 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
23 | |||
24 | diff --git a/arch/arm/mach-omap2/opp.c b/arch/arm/mach-omap2/opp.c | ||
25 | index ab8b35b..f111b82 100644 | ||
26 | --- a/arch/arm/mach-omap2/opp.c | ||
27 | +++ b/arch/arm/mach-omap2/opp.c | ||
28 | @@ -64,10 +64,10 @@ int __init omap_init_opp_table(struct omap_opp_def *opp_def, | ||
29 | } | ||
30 | oh = omap_hwmod_lookup(opp_def->hwmod_name); | ||
31 | if (!oh || !oh->od) { | ||
32 | - pr_warn("%s: no hwmod or odev for %s, [%d] " | ||
33 | + pr_debug("%s: no hwmod or odev for %s, [%d] " | ||
34 | "cannot add OPPs.\n", __func__, | ||
35 | opp_def->hwmod_name, i); | ||
36 | - return -EINVAL; | ||
37 | + continue; | ||
38 | } | ||
39 | dev = &oh->od->pdev.dev; | ||
40 | |||
41 | -- | ||
42 | 1.7.2.5 | ||
43 | |||