Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9086817pxu; Mon, 28 Dec 2020 06:18:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+WSSQvo/C0b6CbpaTwZw8hXiPcCV5V1GTPU9+WYh3qXlHE973uvT9l3NGQKHfyAjXzobv X-Received: by 2002:a17:906:8255:: with SMTP id f21mr41169582ejx.265.1609165121354; Mon, 28 Dec 2020 06:18:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165121; cv=none; d=google.com; s=arc-20160816; b=cefkE+UjCzDM/j+jX5QY4ylK2/FFddaDuqaG3v1dBysYr5PH6k8hZIBcTdkyBvvWpw AarZui/fXeZ8p9uve3yjGun/SBXbKgaT3jawqRHZt/HmeRlHWrCbHDp32oV6Z+uDIx4S j2GkV/qEiHTCBr/rRWz6Bk+y6U6Q7U/dO1DLEa+PBUK89CHoc3j1MeF3KOS9oM5L9Ymq PvGd+XbRcRZSl//SI/BekccvYiWPIYQppR9vXLVDNS+tROUpULO75sYMa9MGtLYBuLsF 3zptTG9SgVV52h8EO/EFpQhUT4x9muyvRK/ILkb4FKQNTVccqlfpFMO2G66e5bUrOWW4 meUg== 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=n157QJj6+CKoGIvkBPDkuOLAt1vYGMVvW7227ogAkSE=; b=WLar01J0m50+wURn8g/sBVc/UJ5ti9R2ukh8mP1QmwW8pkSRPLne9K2TSe7XYhZcMY xdsxGeHRUYO6lSBN9Ahqy21wltXCX5bOrHcSRhUYj3SIag7j+QYgVP0oizKKs6CGXTbJ msmu4SpN77vg9W5ezCsXKAFnZD9MTaSeTYRDlFE3wzhBvkeWuuAxi9YsngN1byhkW+cE rVw5xXckoLBZ6jZCCvGlPfbOtfW5dbFWJf6Th9RkRz4JmfLNdQnE2Ep2J8MdxyN4S49J yrg0QG1ACyGDOZ5/K70N3K+5aV2+lPBk3+xZvCsM15Z6MDgMEsyzJAH5BJlu3n+P3tSu uNDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g4Onntfh; 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 a13si20889969edb.419.2020.12.28.06.18.18; Mon, 28 Dec 2020 06:18:41 -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=g4Onntfh; 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 S2440597AbgL1OPJ (ORCPT + 99 others); Mon, 28 Dec 2020 09:15:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:49984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440574AbgL1OPH (ORCPT ); Mon, 28 Dec 2020 09:15:07 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D419C207A9; Mon, 28 Dec 2020 14:14:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164867; bh=2KPMGi7Jhkbvj3Pw9G8QplLFAWCtO5UH5lagZUDzUTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g4OnntfhKy4At4R+XrrG/k1SrPcsaQ7RMXPXgmOdSSlia4EC7rlvks5R5ovZfyoO6 bTqdRJHGiHf5derpRyIvS+0B/fSFhrG9sZOUhH+K1TnNDcFc+FDK3euwfVd7PqJCeT 5Itfee5E7vVXxQOBN67NfmVly+2L74RAjae09El0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Mark Brown , Sasha Levin Subject: [PATCH 5.10 310/717] ASoC: q6afe-clocks: Add missing parent clock rate Date: Mon, 28 Dec 2020 13:45:08 +0100 Message-Id: <20201228125035.880100731@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@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: Srinivas Kandagatla [ Upstream commit 7e20ae1208daaf6dad85c2dcb968fc590b6f3b99 ] setting clock rate on child clocks without a parent clock rate will result in zero clk rate for child. This also means that when audio is started dsp will attempt to access registers without enabling clock resulting in board boot up. Fix this by adding the missing parent clock rate. Fixes: 520a1c396d196 ("ASoC: q6afe-clocks: add q6afe clock controller") Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20201204164228.1826-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/qcom/qdsp6/q6afe-clocks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/qdsp6/q6afe-clocks.c b/sound/soc/qcom/qdsp6/q6afe-clocks.c index 2efc2eaa04243..acfc0c698f6a1 100644 --- a/sound/soc/qcom/qdsp6/q6afe-clocks.c +++ b/sound/soc/qcom/qdsp6/q6afe-clocks.c @@ -16,6 +16,7 @@ .afe_clk_id = Q6AFE_##id, \ .name = #id, \ .attributes = LPASS_CLK_ATTRIBUTE_COUPLE_NO, \ + .rate = 19200000, \ .hw.init = &(struct clk_init_data) { \ .ops = &clk_q6afe_ops, \ .name = #id, \ -- 2.27.0