All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: imx6: add opp table when cpufreq is enabled
Date: Mon, 29 Aug 2016 14:27:20 +0800	[thread overview]
Message-ID: <20160829062720.GI30790@tiger> (raw)
In-Reply-To: <20160829061910.GG30790@tiger>

On Mon, Aug 29, 2016 at 02:19:10PM +0800, Shawn Guo wrote:
> On Tue, Aug 23, 2016 at 10:56:11PM +0800, Anson Huang wrote:
> > On those i.MX6 platforms which have no speed grading
> > check, opp table will NOT be created in platform code,
> > so cpufreq driver will have below error message:
> > 
> > cpu cpu0: dev_pm_opp_get_opp_count: OPP table not found (-19)
> 
> The cpufreq driver calls dev_pm_opp_get_opp_count() to test if platform
> supplies an OPP table.  If not, the driver will call into
> dev_pm_opp_of_add_table() on its own.  So this is not an error message,
> and cpufreq driver should just work fine on i.MX6SX and i.MX6SL.

If you think the message might confuse people, we can add an info
message in cpufreq driver in case it adds OPP table by its own, which
can explain the 'error' message a bit from dev_pm_opp_get_opp_count().

Shawn

  reply	other threads:[~2016-08-29  6:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23 14:56 [PATCH] ARM: imx6: add opp table when cpufreq is enabled Anson Huang
2016-08-25  1:53 ` Peter Chen
2016-08-29  6:19 ` Shawn Guo
2016-08-29  6:27   ` Shawn Guo [this message]
2016-08-29  8:49     ` Yongcai Huang
2016-08-29 14:47       ` Shawn Guo
2016-08-29 14:54         ` Yongcai Huang
2016-08-29  6:27   ` Yongcai Huang

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=20160829062720.GI30790@tiger \
    --to=shawnguo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.