From mboxrd@z Thu Jan 1 00:00:00 1970 From: Taniya Das Subject: Re: [PATCH v3 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SC7180 Date: Fri, 11 Oct 2019 15:58:13 +0530 Message-ID: <9fef7f3d-984e-9011-b207-c7f287691000@codeaurora.org> References: <20190918095018.17979-1-tdas@codeaurora.org> <347780b9-c66b-01c4-b547-b03de2cf3078@codeaurora.org> <20190925130346.42E0820640@mail.kernel.org> <35f8b699-6ff7-9104-5e3d-ef4ee8635832@codeaurora.org> <20191001143825.CD3212054F@mail.kernel.org> <7ac5f6bf-33c5-580e-bd40-e82f3052d460@codeaurora.org> <20191003160130.5A19B222D0@mail.kernel.org> <81a2fa46-a7e6-66a2-9649-009f22813c81@codeaurora.org> <20191004232022.062A1215EA@mail.kernel.org> <20191010041629.6E771208C3@mail.kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20191010041629.6E771208C3@mail.kernel.org> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Stephen Boyd , Michael Turquette , robh+dt@kernel.org Cc: David Brown , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi Stephen, On 10/10/2019 9:46 AM, Stephen Boyd wrote: > Quoting Taniya Das (2019-10-09 02:19:39) >> Hi Stephen, >> >> On 10/5/2019 4:50 AM, Stephen Boyd wrote: >>> Quoting Taniya Das (2019-10-04 10:39:31) >>>> >>>> Could you please confirm if you are referring to update the below? >>> >>> I wasn't suggesting that explicitly but sure. Something like this would >>> be necessary to make clk_get() pass back a NULL pointer to the caller. >>> Does everything keep working with this change? >>> >> >> Even if I pass back NULL, I don't see it working. Please suggest how to >> take it forward. >> > > Why doesn't it work? > My bad, I messed up with the kernel and my testing was showing failures. Have tested it on SC7180 & Cheza and it works as expected. I will submit the changes in common.c to return NULL. -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation. --