Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9776004ybi; Wed, 24 Jul 2019 09:45:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxz9UnZABk5tcWgVxMEGj5j1JEhlOuo/CKdsOO5E+7ZSpZP+457zlrzKmBLTkacUvwLR5E X-Received: by 2002:aa7:9f1c:: with SMTP id g28mr12082686pfr.81.1563986703124; Wed, 24 Jul 2019 09:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563986703; cv=none; d=google.com; s=arc-20160816; b=pXPwLlbM31pAqtNToBm6JC5Q+h16TnXLYW5wIkV36MoA2N7MutR4qxWD/QxwFlU0y8 umXSyihfyRdiNyK2nmXS6iCgOsgIM9femJRV85oLNUqL1PlDt9JSkCn19jELPOJxfb5+ Hbs9aL1rukrl1SofLDPiWsxIedy3MZYleqboj4btR59z4GNUYWJv0z4BuZHusOuWgbXV LZUUfqjAU2j/nEZHhpsinKFOiJrufeEGzM9YdTSk/nrRggbxeuxB3aGoi6vx5GeibHUh 3XHNRjK32nFd2qHK2E6uQc5Z7G9WgsLnS0Hw3cyptTlo2IGca6A5s6WzRioefHcFF2zG TcqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=A6A0bXG2C/Uz5DrM46M0ff+/GH1i3euz7a1rC7d3MCQ=; b=rrm7PyVzCLMPmbAIhM9+K+1pGPenFxbjAQAtnGakFDYaticiKBxe64mRzrDMWZqHQM MxYDVbDzRMjceM3cOnuxJrM1tJtDe60VBkbS0k6VL5yZi5W/NZzRkig+NeFgBwugMVv7 gYp6V/oWdacVjYukw5+vNuirxoIQmBPcuhz+EfzxeevuP2+2myBa2/qmBME0hJcE3cjf dlBQ5gTTRo7yxbPrzqv+EUpybcdWuCpePKt97krJ/i4DxrTZERQC8hK4ZBXFSOjMYrUX o0we1w1hA78JPEgeJnADm3dZl32yMnmeVlfFvBfONqxvKiC03w/2op7rENBy+xfSFexx VM9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eddzfZNZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q32si15007393pgm.544.2019.07.24.09.44.48; Wed, 24 Jul 2019 09:45:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eddzfZNZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbfGXPWV (ORCPT + 99 others); Wed, 24 Jul 2019 11:22:21 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50158 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbfGXPWU (ORCPT ); Wed, 24 Jul 2019 11:22:20 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x6OFMD9Z064348; Wed, 24 Jul 2019 10:22:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1563981733; bh=A6A0bXG2C/Uz5DrM46M0ff+/GH1i3euz7a1rC7d3MCQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=eddzfZNZBkv+Tu+z5M30SOSEkjDHFKO4d9jxmIffAurnG/EUEWqou4X8AU2ME1nHu dpI+QL0LfT+N8D8mW9+oH1Ln/w+ms5aitgjyNEzF604CPLXMiTENMkpiOCgcjncV3E oNcoNH2pi9HQC01bvjQnCol/EDvUPp+eHtQL+sAY= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6OFMDfx088896 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jul 2019 10:22:13 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 24 Jul 2019 10:22:13 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 24 Jul 2019 10:22:13 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x6OFMCMW029577; Wed, 24 Jul 2019 10:22:12 -0500 Subject: Re: Backlight in motorola Droid 4 To: Pavel Machek CC: , , , , , , , , References: <20181219162626.12297-1-dmurphy@ti.com> <20190722205921.GA24787@amd> <20190724124530.GA30211@amd> From: Dan Murphy Message-ID: Date: Wed, 24 Jul 2019 10:22:12 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190724124530.GA30211@amd> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pavel On 7/24/19 7:45 AM, Pavel Machek wrote: > > + > 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