Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3892887imm; Thu, 17 May 2018 17:16:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrXR6sXpuYgqvLAdK2HAb3DKcUduGkgoaNHu7u4uPsaudoqlWk0dy5RzroeTvN0sIe1Htuj X-Received: by 2002:a62:e801:: with SMTP id c1-v6mr7116970pfi.184.1526602616982; Thu, 17 May 2018 17:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526602616; cv=none; d=google.com; s=arc-20160816; b=adFV8ugWR64wWaPhTVUuiMTzM37SVYa04CLN6nuKFVg1DFjPpXqZFRpdCo07g2q+ox SrPZgip0vBwbQbI2mKBzpB/iQgv8WBmRFB8nifnSjck8Z8xj3GM0w8T3wahXpnTFXuUX DWtfaPs63BwvEGINbTqLtVjwLxujloGMKWCrSzrEuOFhmbnfLV5oeTo2YX3Vhz7tLivW RekTa68tMsXBMqzAjMo35drCWZimGiOPbEUEfHSeH0c2qyz+JiZKUkVkQCuTm/s8aNPh Pe3z6N7tVeeJVusJTFBf63PkjFe3RNf66pPkvW/zOBJYvdHoXD01mp68ik5gSj0YQ7z8 SFSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=oKQZ9jYASHyPwPsUQS+cF6VuvBEfv8PzPZna1R+S5r4=; b=ENJEtxDT96aGikYsL55j07W8HAPvicPt4ywdOK0Oqx1rjY2g0nn/LHvDsakkE7788Z Xb9rtOH25ncMz4k8h0OJFwz7iI0+qEMxDgUZ7NVMq0WDj/1eA21/g6HFvb6lplZv42Tu dsczum5pHROYnfPssp3w4bpo6KbR++E6x/qFkP8zsrZDJZlaU7G43XjO8V5NWsGhL4NX GEgmbZ2W/fveuyvJr2vN/7e0VMk9/GMkjCcj1/UpLZtSx+d3/4Gapzix1Z7WONMzv5IV Lc+sSQFnMQyk08vjh0L83nAvgBihTcU1Rq/LS6rUxzYFV+WcDY9L39OHPHvjBJDL2DDA VElA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=jsKgxbI0; dkim=pass header.i=@codeaurora.org header.s=default header.b=Vj90//p9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n17-v6si6381919pfg.227.2018.05.17.17.16.42; Thu, 17 May 2018 17:16:56 -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=@codeaurora.org header.s=default header.b=jsKgxbI0; dkim=pass header.i=@codeaurora.org header.s=default header.b=Vj90//p9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbeERAQY (ORCPT + 99 others); Thu, 17 May 2018 20:16:24 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36830 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752002AbeERAQU (ORCPT ); Thu, 17 May 2018 20:16:20 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3D6B560C66; Fri, 18 May 2018 00:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526602579; bh=7SPPnIwxh7RdSANbPTZM6dULkaiwTPXQmVuErYvQ7Lk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=jsKgxbI0Ik8t+C+wkXabsMytFxpUEduCkHiZI7mfvnUPYeo23AP8ahJC5oa/1/+KW 7YeZYwKQKMJnfwThP0Q+1OgXSH1LnFlC4SkW568r6jVpP92sOIlngzX6sGO2XGNQzX bVwSZXOE3ePwuoB0UE4xNZGqMU/KQJ1osFDw+m4w= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.46.160.165] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: collinsd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 562FD602BA; Fri, 18 May 2018 00:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526602578; bh=7SPPnIwxh7RdSANbPTZM6dULkaiwTPXQmVuErYvQ7Lk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Vj90//p9MhiYPfhPk/O7kmDpndHIATEriRntnk5htKqEDatRSoi2ltENorowo4LlX 7onX4/4zMYMtonJlbPYfdVrWm6Xd4XellBLYJ74lxkAXGBy9OYPki+QxFr9W3VQOFb DH75cnpdAEYJzc7a5hGSD3un5hO7FkEzjFKQfEr4= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 562FD602BA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=collinsd@codeaurora.org Subject: Re: [PATCH v3 2/2] regulator: add QCOM RPMh regulator driver To: Doug Anderson Cc: Mark Brown , Liam Girdwood , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, Linux ARM , devicetree@vger.kernel.org, LKML , Rajendra Nayak , Stephen Boyd References: <3a4195365ab0d252fdf064d2300f45b9b777991c.1526088081.git.collinsd@codeaurora.org> From: David Collins Message-ID: <8847014e-4d27-b47a-8dc1-5b4a35123ce6@codeaurora.org> Date: Thu, 17 May 2018 17:16:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/17/2018 02:23 PM, Doug Anderson wrote: > On Fri, May 11, 2018 at 7:28 PM, David Collins wrote: >> + /* >> + * Default the voltage selector to an error value in the >> + * case that qcom,regulator-initial-microvolt is not >> + * specified in device tree since the true voltage is >> + * not known. Note that this value causes >> + * devm_regulator_register() to fail in the case that >> + * regulator-min-microvolt and regulator-max-microvolt >> + * are specified in device tree due to >> + * machine_constraints_voltage() bailing when the >> + * get_voltage_sel() callback returns this error value. >> + */ >> + vreg->voltage_selector = -EINVAL; > > As per comments in other threads, adjust this comment and use > -ENOTRECOVERABLE now. I'll make this change. Take care, David -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project