Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7328961ybh; Thu, 8 Aug 2019 13:55:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRlNVK/1TjpDGIJ3whpwTLW3uSM+hypqEyO/qE/vDEXTCr/w2gWPD/tCfGCKJHPcx3ZBAI X-Received: by 2002:a62:b60e:: with SMTP id j14mr17787559pff.54.1565297748499; Thu, 08 Aug 2019 13:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565297748; cv=none; d=google.com; s=arc-20160816; b=PcLiy+2tV3iPSLC0y1hoXrYjoKnp4k6zzSMRdNmvnttw1pDcs8bzoqJ7qTPO3RwxIJ AeNp4JN1e4HJhEMNb4J60iJjXs8eRu3L6fuYTWsP8Oc7h6wUoL5GkYeAz5R4tbiQfw+P 91UM/ZbK5Ax3wypdP1L/zngTZO2Taa5KSQXNGlUYfc/jaw/twrXIUap9q/ordo684kNs pV0TABKH0aRIqjYu9C13hVulgjkMQpbAx7U0autaSYFifCstLTVobRERBM9ewawxS/MR WQoMnCz83G8tA4hJUz3/GzcgsK/sP+RhWQldY39IpcJ5O2BMFOnFOcVJzptNjBcJAb64 IzsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=aggzkxvuxmlZxfRD1KdvkTzY+UmjSzRJs2W+e84KtEE=; b=u3CEZcbCABh6R3iCme39l/UK0dUHYwVG6/2/QpGVzozdUW3oiB4chQlb3y6CEGjLOK Kr7xiccs8S3jQ8myALkcUTyiYyTz/Dm05tXYWTW0QDnF272MH9R06dbhAmPMgm5s0jU6 NzT7tF3hSY+oc2SS8McwUWdCKglyYBmIr3sI6qUQeR5BD7WZONTbszkDXJoKpBr1Ur+r iilntl7x3UPYJPhx3uhyMWwvL4eK62ByKiYLnWJuOPerfvJcD6NZtHgiEa2ge8Vbd9zt 2/A38KN7YlhH8Zhl5z/SF7Dxmou2urq1a1U41EHH1HRwGkFCPWsra126UVo1HbcN9dJv BjKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iS+N5K6W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si38324867pgf.198.2019.08.08.13.55.32; Thu, 08 Aug 2019 13:55:48 -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=iS+N5K6W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390303AbfHHUyc (ORCPT + 99 others); Thu, 8 Aug 2019 16:54:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:47430 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732601AbfHHUyc (ORCPT ); Thu, 8 Aug 2019 16:54:32 -0400 Received: from kernel.org (unknown [104.132.0.74]) (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 0A5762173C; Thu, 8 Aug 2019 20:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565297671; bh=RbcGBY8Rckrm2fQnqb86Wd8ep+YZxpahEYQClJ1cns4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=iS+N5K6W+k2NAMCOroQiYTmg7HnFH3sCVZuj5w1hI3CHnBV4EnwOm0xGL6qdQGC+t aBwN3TCs+AG/Yazs2vNyS02nPNI0shECCVG7R/HtRcGsDOsnUCfGuF75HWKz+K/Teo oPGSTmpwPrO0dziJ9ZUB3zN3gwmPb5d8PvanM27Q= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190808144929.18685-2-s.nawrocki@samsung.com> References: <20190808144929.18685-1-s.nawrocki@samsung.com> <20190808144929.18685-2-s.nawrocki@samsung.com> Subject: Re: [PATCH v2 2/2] clk: samsung: exynos5800: Move MAU subsystem clocks to MAU sub-CMU From: Stephen Boyd Cc: linux@armlinux.org.uk, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, krzk@kernel.org, cw00.choi@samsung.com, m.szyprowski@samsung.com, b.zolnierkie@samsung.com, Sylwester Nawrocki To: Sylwester Nawrocki , mturquette@baylibre.com User-Agent: alot/0.8.1 Date: Thu, 08 Aug 2019 13:54:30 -0700 Message-Id: <20190808205431.0A5762173C@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sylwester Nawrocki (2019-08-08 07:49:29) > This patch fixes broken sound on Exynos5422/5800 platforms after > system/suspend resume cycle in cases where the audio root clock > is derived from MAU_EPLL_CLK. >=20 > In order to preserve state of the USER_MUX_MAU_EPLL_CLK clock mux > during system suspend/resume cycle for Exynos5800 we group the MAU > block input clocks in "MAU" sub-CMU and add the clock mux control > bit to .suspend_regs. This ensures that user configuration of the mux > is not lost after the PMU block changes the mux setting to OSC_DIV > when switching off the MAU power domain. >=20 > Adding the SRC_TOP9 register to exynos5800_clk_regs[] array is not > sufficient as at the time of the syscore_ops suspend call MAU power > domain is already turned off and we already save and subsequently > restore an incorrect register's value. >=20 > Fixes: b06a532bf1fa ("clk: samsung: Add Exynos5 sub-CMU clock driver") > Reported-by: Jaafar Ali > Suggested-by: Marek Szyprowski > Tested-by: Jaafar Ali > Signed-off-by: Sylwester Nawrocki > --- Applied to clk-fixes