summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-3.0/misc/0002-OMAP2-OPP-allow-OPP-enumeration-to-continue-if-devic.patch
diff options
context:
space:
mode:
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.patch43
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 @@
1From c15f217f7d07c460763a092f31f61b1975a18563 Mon Sep 17 00:00:00 2001
2From: Nishanth Menon <nm@ti.com>
3Date: Fri, 16 Mar 2012 11:19:09 -0500
4Subject: [PATCH 2/2] OMAP2+: OPP: allow OPP enumeration to continue if device is not present
5
6On platforms such as OMAP3, certain variants may not have IVA, SGX
7or some specific component. We currently have a check to aid fixing
8wrong population of OPP entries for issues such as typos. This however
9causes a conflict with valid requirement where the SoC variant does
10not actually have the module present.
11
12So, reduce the severity of the print to a debug statement and skip
13registering that specific OPP, but continue down the list.
14
15Reported-by: Steve Sakoman <steve@sakoman.com>
16Reported-by: Maximilian Schwerin <mvs@tigris.de>
17Acked-by: Steve Sakoman <steve@sakoman.com>
18Tested-by: Maximilian Schwerin <mvs@tigris.de>
19Signed-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
24diff --git a/arch/arm/mach-omap2/opp.c b/arch/arm/mach-omap2/opp.c
25index 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--
421.7.2.5
43