Re: Backlight in motorola Droid 4

From: Dan Murphy
Date: Wed Jul 24 2019 - 11:22:31 EST


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>