Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1836158imm; Mon, 3 Sep 2018 10:41:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYqsOLfLOPRtwedvN9wxChmAxd9RfY3EyQdBqasoelB4yGp/U+jEUxkV0ZLhDLcHJdcym+f X-Received: by 2002:a63:586:: with SMTP id 128-v6mr27518972pgf.169.1535996470624; Mon, 03 Sep 2018 10:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535996470; cv=none; d=google.com; s=arc-20160816; b=Ir1BpEWii6W4wjAW1NJ9ZzmHZT0vacPR8TMLqCypRHfI+QSc4VXXH0VnMuOizVHsql ICihQJ8bq8riP1ZYJ5gIExuOT51u9UaZVweSmXb0EYwSSSoqTGPhvrc/H15ZVXpH7GQK qbvBlC6nMRklq8Sb7pTuGUqdwUTcNWyUSpFysLUIEdgX2Tfzx3LoM5Adzu6xWqielYJ0 pejKUkGGq6V0UNSagE3dEtitWJEoJoqNSbfWOIVbR1gtYmFAQOB3VmJxKhpD1tK1dvZy /n2eykI8PL8k8lySXkNqBZRpML/gWMGJAAKQKAKRm1fivL0G++MEdDA98FWWQIoUwj/h AK1Q== 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=gth9oYPUfby9EUinxFphwKQ1/5rfJnXXBxOJAq5RL6w=; b=TWSGk2WNsW4j56bRD8ctLiVkRSZHtjPPsEKdBXNtRisX6aTyN/EhDJMraAPPGEUZo9 J6vFflvRGltOSzhUKjOyXgFNwJ2IcP8a+mVk5OdcQE2J2pIfYbt4OlFRVXA1jZJO/N56 +RmksFq7PzKDB5QIA3BcXb+GVXfYwFyIu06HOd70/SwO1VBQW21KjBXes6HzA3C4ikt6 LJ/hGRFcSYvuUfVRKlXVY8UnDcmFpaLBN80KuYntZM1KyBRQqsz4xQBBph68jj/qHr+t Cdu3G41dU6uMa4xsj+bL4pGgckg/o+WBUA1s7OHMrvsiXPCIe8IG4YNVuQQzsPweID8O sqFw== 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 g3-v6si18350024pll.395.2018.09.03.10.40.55; Mon, 03 Sep 2018 10:41: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; 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 S1731936AbeICWAi (ORCPT + 99 others); Mon, 3 Sep 2018 18:00:38 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49230 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728885AbeICWAh (ORCPT ); Mon, 3 Sep 2018 18:00:37 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C5C12BAE; Mon, 3 Sep 2018 17:39:25 +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.18 115/123] clk: rockchip: fix clk_i2sout parent selection bits on rk3399 Date: Mon, 3 Sep 2018 18:57:39 +0200 Message-Id: <20180903165724.365725254@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165719.499675257@linuxfoundation.org> References: <20180903165719.499675257@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.18-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 @@ -631,7 +631,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 */