lkml.org 
[lkml]   [2014]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: of: Lower the severity of the error with no container
On Wed, Oct 08, 2014 at 03:59:12PM -0700, Guenter Roeck wrote:

> There is a log message "no parameters" for each regulator. This is printed
> unconditionally from print_constraints().

> Looking through the code again, looks like this is on purpose. It is just a bit
> annoying to get lots of those messages. One of the systems I am dealing with has
> 17 LTC2978 chips in it, with 8 channels each. That results in 136 times "no
> parameters" in the boot log. And that is not even a fully populated system;
> if fully populated, there can be more than 60 of those chips. 500+ lines of
> similar log messages is really a bit on the high side.

> It might help if there was a way to silence the messages, ie to make
> "print_constraints" optional.

Ah, from the constraints rather than from the DT parsing. I do like
having it there since it's enormously helpful in debugging and that is
a... specialist number of regulators you have in your system. We can
definitely at least add a boot argument or something to suppress them,
let me have a think if we want to do that by default.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-10-09 02:21    [W:0.063 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site