Received: by 10.192.165.148 with SMTP id m20csp4183781imm; Mon, 23 Apr 2018 21:10:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Ffs7WfezD382gqAS0XfYPpu3vIzmX5NdAZB/gl9dLRJHSL036EAb8HjioHx4OM136nMzk X-Received: by 10.99.109.11 with SMTP id i11mr18663323pgc.276.1524543040591; Mon, 23 Apr 2018 21:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524543040; cv=none; d=google.com; s=arc-20160816; b=0Wuma9A7bn1ZT8/3N8nqHo7n8PNVzCOntZQ3QlJsISCdevOeui3lwzBDg6pwsWd6cR 8MbTs1+Km5gT1s2kXPcJvgYh/iwjsAiv7f16+yD8AYUx6GnZTLBZSVe9UI7WrxTkv8mx 1vr1xbFSz17p0E1DlJww0YaefJv7YbiPwYwbXVePeqtSwWLBbJ28laGMCOFMOpKS/20/ JkSne0sKqevXDtZUwZLWXPEtweAwLHk6nbS9zNNzF5Bzbg1Y3OlJNEBXRB+sHWURwVHC QXGJ2Ekn90trcgrVrAsgrMIbirpej55Mt3Yabn0R3GX9Ifdj/ECZNBC9R5iEBtdGDhpE xMww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :in-reply-to:subject:cc:to:user-agent:organization:from:date :message-id:content-transfer-encoding:mime-version:dkim-signature :dkim-filter:arc-authentication-results; bh=5mP37sg0/xz9iCTS//FoHEDLWGiztXD71vwCTigWcqg=; b=npGCZeDmeH3lAPL6GAs8Q40UWRdNXBx/SzjQ5j9M3d5hzMa+5RkC1O55y6DFLjk+ek /KbsVQ1VwrWXcbNJk1P6c7utN7PniyVKF0yWWa2LRV9VcipJpoYxL4r5qyhsTa3NNynL grlrmP/72wS54MKT9Zc+K96tm8OuDFqAEkPzt6KeNTOgw/C8WM9jqMoJPIKksC1bGk1j s6tj9grceI/Gya/Wv8uxRWPGB14pOjOkMEp370j2NTQXUWMnL+c7+vD+tCbrgLEf8AzT GXzGBdjzCfJz20B5jHSc7tpiCmJbPj46cqDb4DY0JhT/ahEySHwciVn5AH01o48zx1HG FwlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=qj9c4N3y; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si8472122pfk.350.2018.04.23.21.10.15; Mon, 23 Apr 2018 21:10:40 -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=@samsung.com header.s=mail20170921 header.b=qj9c4N3y; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932842AbeDXDzO (ORCPT + 99 others); Mon, 23 Apr 2018 23:55:14 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:26822 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932729AbeDXDzL (ORCPT ); Mon, 23 Apr 2018 23:55:11 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180424035509epoutp016f7faee70ba690bf8393bdb572690a7d~oQviWn1o33264632646epoutp017; Tue, 24 Apr 2018 03:55:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180424035509epoutp016f7faee70ba690bf8393bdb572690a7d~oQviWn1o33264632646epoutp017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1524542109; bh=5mP37sg0/xz9iCTS//FoHEDLWGiztXD71vwCTigWcqg=; h=Date:From:To:Cc:Subject:In-reply-to:References:From; b=qj9c4N3y5BTuSe5DsI30r6QdjcbAAILprU6ot26C05vUuuu3iRepAwRzFHqZGNna1 a9yBz2UGt/GvU+Qk2CxSWgeoPIswIHIEgKDei5rczitRbzpZZepASRUfaNCL94gAJR I7LLNJ7dOOGWasmXFskftFl3WFNI2hmnZo3lRGz8= Received: from epsmges1p5.samsung.com (unknown [182.195.40.158]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180424035506epcas1p1e8421cb5d781b467ba6c8209040ef7bf~oQvfn05bp1172611726epcas1p1q; Tue, 24 Apr 2018 03:55:06 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 10.67.04077.A9AAEDA5; Tue, 24 Apr 2018 12:55:06 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180424035506epcas1p25aa8d806e94532f671171905890cf3e6~oQvfT8CJ10325103251epcas1p2O; Tue, 24 Apr 2018 03:55:06 +0000 (GMT) X-AuditID: b6c32a39-8a5ff70000000fed-28-5adeaa9a86b9 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id F2.5C.03822.99AAEDA5; Tue, 24 Apr 2018 12:55:05 +0900 (KST) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset="UTF-8" Received: from [10.113.63.77] by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P7O005RI87TJJ40@mmp2.samsung.com>; Tue, 24 Apr 2018 12:55:05 +0900 (KST) Message-id: <5ADEAA99.1040903@samsung.com> Date: Tue, 24 Apr 2018 12:55:05 +0900 From: Chanwoo Choi Organization: Samsung Electronics User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Enric Balletbo i Serra , myungjoo.ham@samsung.com, kyungmin.park@samsung.com, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, heiko@sntech.de, linux-pm@vger.kernel.org, dbasehore@chromium.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Lin Huang Subject: Re: [PATCH 5/6] devfreq: rk3399_dmc: do not print error when get supply and clk defer. In-reply-to: <20180419104019.24406-6-enric.balletbo@collabora.com> X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRjm29nOzlqr49T6sLB1QEjD5dlanqKF3Q8kYQQVq1gH/VDRbbIz u0JpF6sxw+jKstSKkCVp3lqmFdtSEhW8VohSWWmaQVRmidXZTlG/vvd93uf5eN6Hl8DUxXgU kWl1ILuVy6bwGdJ6f2x8vNszaEoYex7BjNY04kxJoEPGVPT7APPr9ZiMmaxqxZiaDpeMaT/6 Qc50NxTjzOfCAGD688tx5kRTQJ6kZK/kdUpZ78BNwFZ7TuPstPuRlD1T6wHsvb5rGPu5OjpF bkIrMxCXhuwaZE21pWVa043Upq3mtWbDsgQ6nl7OJFIaK2dBRmpdckr8hsxswSSl2ctl5wpQ Csfz1JJVK+22XAfSZNh4h5HaSdM6LZ2QqNXphFe/e4XOIFD2oIySGhfIuavcX17ol+WB6won UBCQXAonGhqAE8wg1KQXwMAxPy423wBs9l/G/7LG6/Ik4qAKwKPN+VhwoCLD4OS5QakTEARG LoCBrqwgjJGxsO5BpVzkDwDY8eUsLvLj4Jj3dKiWkjHwk+spCNa4gD8aeR7CZ5MLYe/kUAiP JHfA+yUToY8iyOMAfmyaDrnAgl5fuYbkQVY4ycFjLeMhRwpyDex8VRZSQHIKhy9GujFxh3Vw fLRfItbhcLSlVh60Dcl5sOuJUeSfBPBk0zVMbM4Lvp8N/hHo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4JRqYLQLL3pzhPGg1eok2d0P TZS239jz59D7y6x2D8o0s7612s0PWMV2IKvJL/DtS0ur/F71hEbTkAufA4SDDOv3X5/isECh Ujl0scrM340xW4u+xv93U8lYGxJ6X/W5VsCPRZ1vLwmwJ95MvDMl+KWj/E0bNoVPNxXe9vTs zbZLsD8cIGtQdZ57khJLcUaioRZzUXEiALxUZDaQAgAA X-CMS-MailID: 20180424035506epcas1p25aa8d806e94532f671171905890cf3e6 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180419104226epcas4p42e5d6a66c909325cedcdc1e24bd9007d X-RootMTR: 20180419104226epcas4p42e5d6a66c909325cedcdc1e24bd9007d References: <20180419104019.24406-1-enric.balletbo@collabora.com> <20180419104019.24406-6-enric.balletbo@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018년 04월 19일 19:40, Enric Balletbo i Serra wrote: > From: Lin Huang > > We just return -EPROBE_DEFER error code to caller and do not > print error message when try to get center logic regulator > and DMC clock defer. > > Signed-off-by: Lin Huang > Signed-off-by: Enric Balletbo i Serra > --- > > drivers/devfreq/rk3399_dmc.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c > index 44a379657cd5..5bfca028eaaf 100644 > --- a/drivers/devfreq/rk3399_dmc.c > +++ b/drivers/devfreq/rk3399_dmc.c > @@ -308,12 +308,18 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev) > > data->vdd_center = devm_regulator_get(dev, "center"); > if (IS_ERR(data->vdd_center)) { > + if (PTR_ERR(data->vdd_center) == -EPROBE_DEFER) > + return -EPROBE_DEFER; > + > dev_err(dev, "Cannot get the regulator \"center\"\n"); > return PTR_ERR(data->vdd_center); > } > > data->dmc_clk = devm_clk_get(dev, "dmc_clk"); > if (IS_ERR(data->dmc_clk)) { > + if (PTR_ERR(data->dmc_clk) == -EPROBE_DEFER) > + return -EPROBE_DEFER; > + > dev_err(dev, "Cannot get the clk dmc_clk\n"); > return PTR_ERR(data->dmc_clk); > }; > Looks good to me. Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics