Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp619131pxb; Wed, 3 Mar 2021 10:56:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1WT2yRGlJoy3RM+MY22EywbfEnwdVQuqlb8mKykLoIyJYyS2ubyMq09xx086CyOo2lGTF X-Received: by 2002:a17:906:38d2:: with SMTP id r18mr293646ejd.104.1614797778968; Wed, 03 Mar 2021 10:56:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614797778; cv=none; d=google.com; s=arc-20160816; b=c9tgtBmfqGJT+hDpHrDb7xI6xwhXhHe+1EOHT+ArM+Cp54wThQ4u/H04eOqgR1fghy BLH8DYIidX8uE/ghRZA2w0iQZaV3sXfm2LIfCwfu/0KjZvIRDuzEv9MPvbFEfsrGbkg8 spe+vKzrrOA9CCLo714w8ZM6TpqJ4BqISoc/2Qwb2n1F7K6mm8MfPLPFCMYrqsmh7T+Y ij37mqLnnv4nHOdiDMSLj6o60hw//M0YeWvai24GxOntj9xU/VCLzJc+e93NAF+50Rp6 DM3jVdhgVlGejT2HqYeaDEAFJtSvlUdHPqCNW7dVwT7sVn/2xQS9icqDoZVyzZmo6Wbf io2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=88HndH1/8gYZy7VyNHy8Be1VxYb0gj4fT1LKvaDF3Zw=; b=hSSto65jkoCgEz+y4HYfQZAsFgRsR27p17KIxw6pO5g9Yi0iSwl9h7ceBIzOmUyCfw iQOTZAJWDYIRVJKlGEXVpCfykOi0xp2f6mBT+QEYI9uVMyAwDXXRFblw71m8F7EeSBXG yE4cB/Dhxxpjgl2Gjs847oMw7D8s0dRIbZGjuHFtKAJy3t7z4BNFFbzsGyVT+6A9equ7 p/b19PRt9mbXGLM0sZO3GK0S0uDmPEUKfBkmcZaMKyEmX4lxv/AiMLwZiNsjjS6Rw3CS D447a7mrd+n8apE7X+bNa/pW9H8mr/jZVn+IUoP0BWF7mquAw0nZhkBkzxQXStD8DR4T IqiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="xn/Dh3OT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id br23si6961458ejb.740.2021.03.03.10.55.39; Wed, 03 Mar 2021 10:56:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="xn/Dh3OT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378600AbhCBBHF (ORCPT + 99 others); Mon, 1 Mar 2021 20:07:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:36378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240742AbhCATET (ORCPT ); Mon, 1 Mar 2021 14:04:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E948065033; Mon, 1 Mar 2021 17:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614618932; bh=KjGAiiTXy4QwyJGy9jZ4jl6VkPznzwEy85JopPo+PxQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xn/Dh3OTVPmMwXjyYhBaK+cOy6WuYbjOs8X3ks/C/H18ktz8gvwREluqKnZYk2LGw /kWBEJBi0HaESHhxY9qU9UpvrehAtXiI51lVr4dZihLOV2bTIX1AXl5P+PiqL13DQY zZHeHAQe2RdPwqezTxScwvy1dyTUcw+ffHFaAATg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jernej Skrabec , Andre Przywara , Chen-Yu Tsai , Maxime Ripard , Sasha Levin Subject: [PATCH 5.10 271/663] clk: sunxi-ng: h6: Fix CEC clock Date: Mon, 1 Mar 2021 17:08:39 +0100 Message-Id: <20210301161155.224305549@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161141.760350206@linuxfoundation.org> References: <20210301161141.760350206@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andre Przywara [ Upstream commit 756650820abd4770c4200763505b634a3c04e05e ] The CEC clock on the H6 SoC is a bit special, since it uses a fixed pre-dividier for one source clock (the PLL), but conveys the other clock (32K OSC) directly. We are using a fixed predivider array for that, but fail to use the right flag to actually activate that. Fixes: 524353ea480b ("clk: sunxi-ng: add support for the Allwinner H6 CCU") Reported-by: Jernej Skrabec Signed-off-by: Andre Przywara Acked-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20210106143246.11255-1-andre.przywara@arm.com Signed-off-by: Sasha Levin --- drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-h6.c b/drivers/clk/sunxi-ng/ccu-sun50i-h6.c index f2497d0a4683a..a26dbbdff80d1 100644 --- a/drivers/clk/sunxi-ng/ccu-sun50i-h6.c +++ b/drivers/clk/sunxi-ng/ccu-sun50i-h6.c @@ -682,7 +682,7 @@ static struct ccu_mux hdmi_cec_clk = { .common = { .reg = 0xb10, - .features = CCU_FEATURE_VARIABLE_PREDIV, + .features = CCU_FEATURE_FIXED_PREDIV, .hw.init = CLK_HW_INIT_PARENTS("hdmi-cec", hdmi_cec_parents, &ccu_mux_ops, -- 2.27.0