Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1976798imm; Thu, 24 May 2018 03:55:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpiqWS7gITlvqEAwqM4goIQtVDT6I3wgCjUH6agZ3yWi+SEYRKUBMgNQLNfnCPJvTjp/hrq X-Received: by 2002:a17:902:aa95:: with SMTP id d21-v6mr6777237plr.73.1527159310478; Thu, 24 May 2018 03:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527159310; cv=none; d=google.com; s=arc-20160816; b=m479QNzAhUgsESKwak7HX+l54D0nvJpF9aKAHtoiE87SeZKOP/MWvo5gbe5enf07vg suz06H+L4kvxrCyzJOC7mqhIQmC9cXyCzxDuZHbJN0crQ2NtEg1iOASce9gNSY3rJw1+ OL4mlQYENB00yWdO9zTZikjj146g+cHtqwLNltlpZnUFVyzbiKDTqCjvQ4l0x2ObMLiC F8KBlMy2WUESU9USav74+TI7wZfwf6fq+n5/iJ7l2OaPyCEWqPpvFgo2ipuBoKBovSRr SoSdhfmF0stqnOPq/Fn70VMK2WkcqH78umVdP7tbVxdXJh3KAgh2becbQyK3zl7qOTcG Gp/Q== 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=xNVF29RCbK+1mgGhrFg0iPv+4TGnKHSrJCwqORrOq5k=; b=nEZSMQH4trMaNEIzyoD6JoBqnGuic7Nklu40K41syfI84851BrqKwdaHj5EPi2yGZW 5V3Qn7E+MSpOOEwynJsOO8MQrIcSZG3UwfDDmwjDbomSTDsJFg/8DlBxT/jPdkK4XXWM uqLnvqHWxCtxQcXGncLPMATl4HDXgsIUzlbhz/MMonWKjhecW0Fes/jPrUmyQCQYr+qR HzywecI4wacpUMguz+AO5xJJr9dIMaHvi6e3jYkR5vlYZc5AiDitXcB22An99g70m/l/ gDOnGMc/MsIworTieE216PUs7+inFXZQoblJ99TpA4vSCeKwxUD8qxLC7FL+xXdLi9XR WIpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=prewTz6H; 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 h12-v6si21215637pfd.253.2018.05.24.03.54.55; Thu, 24 May 2018 03:55:10 -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=prewTz6H; 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 S1030375AbeEXJ5B (ORCPT + 99 others); Thu, 24 May 2018 05:57:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:36706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968452AbeEXJ4v (ORCPT ); Thu, 24 May 2018 05:56:51 -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 E2FE520893; Thu, 24 May 2018 09:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155811; bh=jvOT8GU/aHlhLaaGju7v6uK+M+lS1YTa+Fsbdol6mw4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=prewTz6H8dTbtoJ43Yhvc0S3l0jDEQU5oMQpAhIGvcQJPplABxlPNFtlGKflZj5J7 lIGLVrJ2XYU3zblEQInZmz5d9A4FSKyKdsGOmFDvCNMeqHYOq9yz5492L8sfBLHjgM nYCfHt7ctGi9Wjz8I5mQWkxQP4W5hYhu204OSkMk= 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.14 126/165] clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228 Date: Thu, 24 May 2018 11:38:52 +0200 Message-Id: <20180524093627.101503760@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093621.979359379@linuxfoundation.org> References: <20180524093621.979359379@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.14-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),