From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3394D2D6E74; Thu, 15 Jan 2026 17:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768496725; cv=none; b=qGLg1cgcgzQ3bFs/2tikn8BGx2auM9G2i6Lwx/gqvQfHgsr53QMgsO5mzIbeoO1JrLdLifXt2F/qxfbP6UlKd3Y6Lf4Vwi9fEJGBfmwIk4NzYhGeLWe5/aUk1MmwpZG1uMYWgLNE96Z9DZqPTqkEnht3kTJSUQQfBchRbRm/cgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768496725; c=relaxed/simple; bh=xGS2lPZgNNHqT0wWuT4swcez38oqb2stnP17f912za4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VRh1qpIfKL6zaSmry60PpGFTm4iEXNo4MGlSMl7KSao/FxPIHmJ0gpjwnRqaqzQgZvV/fa4z+7OtbjA2lDBf6aPHXhITwcIpASXjLfsNj46WXOhFmFsmpfvMcGVe0ITG/QrMvDdLDkFqOJa4BBty+3sQJ9514sGOl4DoJHxcdgM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=posU9O15; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="posU9O15" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B28F1C116D0; Thu, 15 Jan 2026 17:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768496725; bh=xGS2lPZgNNHqT0wWuT4swcez38oqb2stnP17f912za4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=posU9O15cG96c7dPbLOkskhsNf89omB0/mtuddsJ/w3HQJy5Gk6buyiXol7cj1+Xv mkppdbqjGvNDhbOcrMLZRjEAKNgL9277G4A2+PQtVj4Ro3Vj53hG33P80e329N3eTh aqKqPVly1Kd3vLrd1sDFaB+pDNCg9ykPXJsPg8Uk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alexander Stein , Mark Brown , Sasha Levin Subject: [PATCH 6.12 114/119] ASoC: fsl_sai: Add missing registers to cache default Date: Thu, 15 Jan 2026 17:48:49 +0100 Message-ID: <20260115164156.074404916@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260115164151.948839306@linuxfoundation.org> References: <20260115164151.948839306@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alexander Stein [ Upstream commit 90ed688792a6b7012b3e8a2f858bc3fe7454d0eb ] Drivers does cache sync during runtime resume, setting all writable registers. Not all writable registers are set in cache default, resulting in the erorr message: fsl-sai 30c30000.sai: using zero-initialized flat cache, this may cause unexpected behavior Fix this by adding missing writable register defaults. Signed-off-by: Alexander Stein Link: https://patch.msgid.link/20251216102246.676181-1-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/fsl/fsl_sai.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index bc3bf1c55d3c1..88547621bcdbe 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -1041,6 +1041,7 @@ static struct reg_default fsl_sai_reg_defaults_ofs0[] = { {FSL_SAI_TDR6, 0}, {FSL_SAI_TDR7, 0}, {FSL_SAI_TMR, 0}, + {FSL_SAI_TTCTL, 0}, {FSL_SAI_RCR1(0), 0}, {FSL_SAI_RCR2(0), 0}, {FSL_SAI_RCR3(0), 0}, @@ -1064,12 +1065,14 @@ static struct reg_default fsl_sai_reg_defaults_ofs8[] = { {FSL_SAI_TDR6, 0}, {FSL_SAI_TDR7, 0}, {FSL_SAI_TMR, 0}, + {FSL_SAI_TTCTL, 0}, {FSL_SAI_RCR1(8), 0}, {FSL_SAI_RCR2(8), 0}, {FSL_SAI_RCR3(8), 0}, {FSL_SAI_RCR4(8), 0}, {FSL_SAI_RCR5(8), 0}, {FSL_SAI_RMR, 0}, + {FSL_SAI_RTCTL, 0}, {FSL_SAI_MCTL, 0}, {FSL_SAI_MDIV, 0}, }; -- 2.51.0