Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4409902ybe; Mon, 9 Sep 2019 08:53:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWW7FTXIonniJNIF1EggihEXGrwMHICicTTGwSFsWEnMEOGgAn/aIdlPme8VTmOfY354Iq X-Received: by 2002:aa7:c0da:: with SMTP id j26mr25267789edp.40.1568044438223; Mon, 09 Sep 2019 08:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568044438; cv=none; d=google.com; s=arc-20160816; b=rjWXIlHM4thbJ8Suul9Qh7mbKNpkQZOz9eyciL4sDhw/V24/kc+sGdmOtuldqe/ObY uZjw0rc8/6rFF6e+pos5ycZe3b57L3n8FMMqhwCoLuSCefdb9nHMUNZjQrY/6oYjJ7/Z evRV5ha8P9DlAuJj7FVGVlk/Vbseh5oab3K+vYVucP8dGB2fcOBvyxt97diV6NQi1EOE K8wlmeVtfJrfjFWSWfCkSwwdlYcYzJtGZB0WpK0ywZxTQ6EfkB+ODCPRQRQT/ELY6W9c fFNpmPe6IjMvLkYyJbvg6SFQzfPnB9ToBiTyySMESoNcFyis753pRT+nkmH8Gcxja+qG edPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:subject:from :to:cc:references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=uwlUxxE5zwNNbkFeR8ba6SYBg+ez12OE1vKRmt4oBC4=; b=s4esgWRDszxN7VdohgFgLSEcLCl/O6KHjBEjMzsFK8OL4nllaON+I6kWK2/asPDM7m IpbJ+nbN4PH2KBQDfhiCur/1zkV4LyPX2P5oM3j/wcE3z3PVGAKYIIKqq/LfCI63CseT Hnh3SBX80Jz3Ap+V4anhQPTb6qs1C28LHL+/hV5U3JcMt8AFALv+ffNpEzaJqU3wifIH 9oh66FFP3JMsuhgy/ES9SffLoEJj2qkdVkRYEbeg70AWy3FVCRbRs+SgoQAWGx7u0/uC 7E4NdD2zvxm77uZX0lciH6eSrUx8lMnYN2YttYvygvlVR0TkAODXbuvY8IrJDYlDb+M2 6bBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pqMSJnz4; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t26si5546742ejt.0.2019.09.09.08.53.33; Mon, 09 Sep 2019 08:53:58 -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=@kernel.org header.s=default header.b=pqMSJnz4; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730149AbfIIKVS (ORCPT + 99 others); Mon, 9 Sep 2019 06:21:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:34224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728358AbfIIKVR (ORCPT ); Mon, 9 Sep 2019 06:21:17 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 245112089F; Mon, 9 Sep 2019 10:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568024477; bh=w2wltwsNcp2EjCC6ZyD5k+5u/Dld7Cc5n/dDmNpsSx4=; h=In-Reply-To:References:Cc:To:From:Subject:Date:From; b=pqMSJnz4bg4KDRBcAr/iLot2g0LHV9vM6cKsUeHva9mAQPp4diH8E6E3rKrfuEfEz 2Wl5SdkM/s8aSar1tRwg4SG6N7H+dOTZFPNW8jjHyzW0l/w1XKhvYtakKK4sFd++t7 VhZI+urCxmZCaF1G2VNuevax3/zFYfSnB2+4uRdU= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190826164510.6425-2-jorge.ramirez-ortiz@linaro.org> References: <20190826164510.6425-1-jorge.ramirez-ortiz@linaro.org> <20190826164510.6425-2-jorge.ramirez-ortiz@linaro.org> Cc: bjorn.andersson@linaro.org, niklas.cassel@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: agross@kernel.org, jorge.ramirez-ortiz@linaro.org, mturquette@baylibre.com From: Stephen Boyd Subject: Re: [PATCH 2/5] clk: qcom: apcs-msm8916: get parent clock names from DT User-Agent: alot/0.8.1 Date: Mon, 09 Sep 2019 03:21:16 -0700 Message-Id: <20190909102117.245112089F@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jorge Ramirez-Ortiz (2019-08-26 09:45:07) > @@ -76,10 +88,11 @@ static int qcom_apcs_msm8916_clk_probe(struct platfor= m_device *pdev) > a53cc->src_shift =3D 8; > a53cc->parent_map =3D gpll0_a53cc_map; > =20 > - a53cc->pclk =3D devm_clk_get(parent, NULL); > + a53cc->pclk =3D of_clk_get(parent->of_node, pll_index); Presumably the PLL was always index 0, so why are we changing it to index 1 sometimes? Seems unnecessary.