Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1941057imm; Thu, 24 May 2018 03:18:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqbDlwF2t1TC5uD01Qo2yUQxAde/LrrNz54GPu8YRJ2S6Zyd4VwgkRRo68veBHtpWqDFIAq X-Received: by 2002:a17:902:7c03:: with SMTP id x3-v6mr6516158pll.237.1527157098692; Thu, 24 May 2018 03:18:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527157098; cv=none; d=google.com; s=arc-20160816; b=K6+VtEnWbLj4wkhEYmkVvlduJb3jl5GsP+ocFSzbqlpI/cjeWHN7OnMryVcShx8BqD sMDD742xnMMOivDa+xcqls3MLSYJKVhnLN6PI8aBY16arMKZi5ON3JGcIQahdQcpWjZW E1+Op3YJWqb4wsgUlbW1JXJbBs9v5axRcE8PjSYPRF9Lc3n2zroInQW04LXDqEjo9nyS BZga4F74IqyzllgzVpI1ATYdg7vC9HWLMMeNS23CV2CIY0IwJL3LwsiF2X6i0e3PHwWz uxfMjJAK7uWwaHFmCQLIYHCd3oTP94L4CvKn7nn/dtVVKrnaPTzBO8hD/Xz857LILqKV nJTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=/4Qr7hCm55zCPCEf04s/gV8xN4mp1eIemNUixYyRUlw=; b=mByh0eh3KxKGlp8J2xf5IpPSoRMu4L2iva0BtKwP5Ah1S3QvukzDwBO3JM161y1dAS rqbCFuSWRp+IIqwvxKFcsc/Vo1Gjjdsjpix8WScOO8GVlnDRMLxMNoKuslzzGQ/rdIqS pvhq+rCKK/esOccnqMmPnfwCpYcMEbSUwKgIppae8WD188/N+HefW+kaYXDi1g19ABiF 4Nf+G/uuekY3OAiYM9ykvjsuBqqkJt+ORTPtCrXxOPiYZ3yXr/jyCw+9Z9Bd7VgeZWl0 LhB2kZjq9rk3glxsY8o6W6I8JOJcJUVSFDoftQXQ9MqBRlX41j7faKmac8oCaW5F1KiL fHjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jhZNEdWP; 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 u7-v6si21379006plq.160.2018.05.24.03.18.04; Thu, 24 May 2018 03:18:18 -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=jhZNEdWP; 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 S1031871AbeEXKQG (ORCPT + 99 others); Thu, 24 May 2018 06:16:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:53738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030892AbeEXKES (ORCPT ); Thu, 24 May 2018 06:04:18 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 DC3D920896; Thu, 24 May 2018 10:04:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527156258; bh=K3tk62XzZi7uyDTE1Dodr50cZKhtK6uiPY/q7iVkwcw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jhZNEdWPSjeh/B3mEwHgoMXT0ZFQLtrld/7q30keUrWjBs1/mq2250fI6i05r9pAQ IASsx3PKyMwsOid4jFiz6/zvH/FvWrs++aBHdYVNqAXgBZhzYf8TtMNR3yDS5Ojvvh kD2Cv28P7JWkeABrA284WzeeE22TeknvqHi5FzdI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shawn Lin , Heiko Stuebner , Sasha Levin Subject: [PATCH 4.16 121/161] clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228 Date: Thu, 24 May 2018 11:39:06 +0200 Message-Id: <20180524093032.789110882@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093018.331893860@linuxfoundation.org> References: <20180524093018.331893860@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Shawn Lin [ Upstream commit 4b0556a441dd37e598887215bc89b49a6ef525b3 ] commit c420c1e4db22 ("clk: rockchip: Prevent calculating mmc phase if clock rate is zero") catches one gremlin again for clk-rk3228.c that the parent of SDMMC phase clock should be sclk_sdmmc0, but not sclk_sdmmc. However, the naming of the sdmmc clocks varies in the manual with the card clock having the 0 while the hclk is named without appended 0. So standardize one one format to prevent confusion, as there also is only one (non-sdio) mmc controller on the soc. Signed-off-by: Shawn Lin Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/clk/rockchip/clk-rk3228.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/clk/rockchip/clk-rk3228.c +++ b/drivers/clk/rockchip/clk-rk3228.c @@ -387,7 +387,7 @@ static struct rockchip_clk_branch rk3228 RK2928_CLKSEL_CON(23), 5, 2, MFLAGS, 0, 6, DFLAGS, RK2928_CLKGATE_CON(2), 15, GFLAGS), - COMPOSITE(SCLK_SDMMC, "sclk_sdmmc0", mux_mmc_src_p, 0, + COMPOSITE(SCLK_SDMMC, "sclk_sdmmc", mux_mmc_src_p, 0, RK2928_CLKSEL_CON(11), 8, 2, MFLAGS, 0, 8, DFLAGS, RK2928_CLKGATE_CON(2), 11, GFLAGS),