Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1828783imm; Mon, 3 Sep 2018 10:29:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZsrzy3Vx+dtIqd+blTsNPkXsX7yDmWDHNE0HJjkuO+RSHu2T1a7rD0RWK4XDZJCUhIup5R X-Received: by 2002:a63:6849:: with SMTP id d70-v6mr26921890pgc.7.1535995780504; Mon, 03 Sep 2018 10:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995780; cv=none; d=google.com; s=arc-20160816; b=zB6U6d1keM6CPqLvC1ncBGhsp9RODxcFraJkjDY8yBWHHAm7/St02LXn1l8doPUIwT XKwtayDW88FsWQBZbsvSbGdTtKvzShsXTK3Uwfoud7UeVo7Oo+fPT7OompPrk7iDale6 sDSXIABrlZD7ZjNM1SD8fdi8OZniXB8tGunfvU0xOldWF7Otc8ygsOWzvhUxqqfWmM1c GobyPpBK08QOANdaqh605W5GQ9JlwdR5q1drOdnyVY/5salU83A0uHUFc5jnwECurJQx WsvUNRVkyuGYOz02rm8pC/43WWlZbWekQcYdciz4TvA+flV482AgQuoQjQJyP/IbL8mb tyVQ== 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 :arc-authentication-results; bh=HkBOsZHGk33ux7uzB7u+RRWGnbXxp3WcHx3NEfJLj6c=; b=l/ut7kAfpRX83KXFsIO7P8on5NFP+AXOebBCwvlc4Tq0UnmTd1iZ62CSND2JOy7sih Mfc5sKlEf9wvjCL47EkhHanas/4s6DKsJy0ybIrjrrnYoJNqBcbO4Bzsx5oiyAMiWN+T 4Eaq/DfD2FMg9gYALZIv2tgZF1SB2wXuRTOxO2ptOWbNptyoxzQzIRKtdNHUSvfOZNYf yKPptj1wFPUaeAg0KPf7sZl6WZLuSWDuf3VgrYDqOUnpalk9uJ3jWJVYtwGFmxuGz1Bz fg0bz1lTwzQBtLgdIASSNfFRpBKi+MCA52MMix+goEMzruoxOpJ8hYIjT8iMqVW7UkmH FNhw== ARC-Authentication-Results: i=1; mx.google.com; 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 2-v6si20165699pfd.39.2018.09.03.10.29.25; Mon, 03 Sep 2018 10:29: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; 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 S1731103AbeICVtE (ORCPT + 99 others); Mon, 3 Sep 2018 17:49:04 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46360 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728175AbeICVtE (ORCPT ); Mon, 3 Sep 2018 17:49:04 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 002DBD01; Mon, 3 Sep 2018 17:27:55 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alberto Panizzo , Anthony Brandon , Heiko Stuebner Subject: [PATCH 4.14 158/165] clk: rockchip: fix clk_i2sout parent selection bits on rk3399 Date: Mon, 3 Sep 2018 18:57:24 +0200 Message-Id: <20180903165705.010030509@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165655.003605184@linuxfoundation.org> References: <20180903165655.003605184@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: Alberto Panizzo commit a64ad008980c65d38e6cf6858429c78e6b740c41 upstream. Register, shift and mask were wrong according to datasheet. Fixes: 115510053e5e ("clk: rockchip: add clock controller for the RK3399") Cc: stable@vger.kernel.org Signed-off-by: Alberto Panizzo Signed-off-by: Anthony Brandon Signed-off-by: Heiko Stuebner Signed-off-by: Greg Kroah-Hartman --- drivers/clk/rockchip/clk-rk3399.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/clk/rockchip/clk-rk3399.c +++ b/drivers/clk/rockchip/clk-rk3399.c @@ -630,7 +630,7 @@ static struct rockchip_clk_branch rk3399 MUX(0, "clk_i2sout_src", mux_i2sch_p, CLK_SET_RATE_PARENT, RK3399_CLKSEL_CON(31), 0, 2, MFLAGS), COMPOSITE_NODIV(SCLK_I2S_8CH_OUT, "clk_i2sout", mux_i2sout_p, CLK_SET_RATE_PARENT, - RK3399_CLKSEL_CON(30), 8, 2, MFLAGS, + RK3399_CLKSEL_CON(31), 2, 1, MFLAGS, RK3399_CLKGATE_CON(8), 12, GFLAGS), /* uart */