From: Kevin Hilman <khilman@ti.com>
To: Maximilian Schwerin <mvs@tigris.de>
Cc: linux-omap@vger.kernel.org, Steve Sakoman <steve@sakoman.com>
Subject: Re: [PATCH] omap: opp: test for iva before attempting to set iva opp
Date: Wed, 14 Mar 2012 10:09:16 -0700 [thread overview]
Message-ID: <87k42nhzyb.fsf@ti.com> (raw)
In-Reply-To: <1331732912-16771-1-git-send-email-mvs@tigris.de> (Maximilian Schwerin's message of "Wed, 14 Mar 2012 14:48:32 +0100")
Maximilian Schwerin <mvs@tigris.de> writes:
> From: Steve Sakoman <steve@sakoman.com>
Thanks for the patch.
Please add a descriptive changelog here.
Also, please Cc linux-arm-kernel@lists.infradead.org for all
upstream-bound patches.
Kevin
> Signed-off-by: Steve Sakoman <steve@sakoman.com>
> Signed-off-by: Maximilian Schwerin <mvs@tigris.de>
> ---
> arch/arm/mach-omap2/opp.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/opp.c b/arch/arm/mach-omap2/opp.c
> index 9262a6b..414f2ec 100644
> --- a/arch/arm/mach-omap2/opp.c
> +++ b/arch/arm/mach-omap2/opp.c
> @@ -62,6 +62,10 @@ int __init omap_init_opp_table(struct omap_opp_def *opp_def,
> __func__, i);
> return -EINVAL;
> }
> +
> + if ((strcmp(opp_def->hwmod_name,"iva") == 0) && !omap3_has_iva())
> + continue;
> +
> oh = omap_hwmod_lookup(opp_def->hwmod_name);
> if (!oh || !oh->od) {
> pr_warn("%s: no hwmod or odev for %s, [%d] "
prev parent reply other threads:[~2012-03-14 17:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-14 13:48 [PATCH] omap: opp: test for iva before attempting to set iva opp Maximilian Schwerin
2012-03-14 17:09 ` Kevin Hilman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k42nhzyb.fsf@ti.com \
--to=khilman@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=mvs@tigris.de \
--cc=steve@sakoman.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox