lkml.org 
[lkml]   [2019]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Backlight in motorola Droid 4
From
Date
Pavel

On 7/24/19 7:45 AM, Pavel Machek wrote:
<snip>
>
> +
> static int lm3532_parse_node(struct lm3532_data *priv)
> {
> struct fwnode_handle *child = NULL;
> @@ -536,11 +579,13 @@ static int lm3532_parse_node(struct lm3532_data *priv)
> ret = fwnode_property_read_u32(child, "ti,led-mode",
> &led->mode);
> if (ret) {
> + /* FIXME: should just default to non-als mod */

Looking at the rest of the code.

The DT doc indicated that this was a required child property so this is
why it

errors out.

Dan

<snip>


\
 
 \ /
  Last update: 2019-07-24 17:23    [W:0.147 / U:2.528 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site