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 4F22F21CC51; Wed, 19 Mar 2025 14:38:56 +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=1742395137; cv=none; b=QuUt7RlRFO2lOLcy/yZrLx7cSMuWMtcJnvGnPuQQ40rW9MqGFL6YkPYEedw8N8JGKp11EXaYFIyxdVLU4p+5OkObgnC5mT6FC2m1wl6lHayLSF05j+HakT2j68MzwcfYSYyzlvjWTLOk1U1JiOW2Uu2YuVVhRrvHL2qFsD9Kr7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742395137; c=relaxed/simple; bh=0BPZ7hqfCQQiCzD2ZqECW38VSCKvRK/sZPJILZYWweM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OxzUgHuafxycmRwN9m4dDc8xo9kna9W+ddsdscvJ3T+ygk+KS38N/HCyGVXhJAkf7+eUQk1Oj8TBLBl+jNfCpIeyZ2y2Tjwx5TRv9W1AME39Wn5CDq801r1bMAY57Hr/Bi73gNxSCJ1K4b85GHGaamD5H00zrMw4X5oSOrX337Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IKKkedlz; 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="IKKkedlz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE17FC4CEE8; Wed, 19 Mar 2025 14:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1742395136; bh=0BPZ7hqfCQQiCzD2ZqECW38VSCKvRK/sZPJILZYWweM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IKKkedlzOQn38+V9O6hTNQZsWNYJ5ZUMt0hj4aQqEPHJIDt1sA+OQlHBv4zaimOEU DHFp1um+UpiTwl2hJHZ425jf1jRrEx/qBK9ziInQdF+dxNkp1hh3bFVquvjju/ceih qUxxSG2D7akcVhLuh+SI5XoKt06QCG2rCF1GmgRI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Bard Liao , Ranjani Sridharan , Shuming Fan , Mark Brown , Sasha Levin Subject: [PATCH 6.12 203/231] ASoC: rt722-sdca: add missing readable registers Date: Wed, 19 Mar 2025 07:31:36 -0700 Message-ID: <20250319143031.858147104@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250319143026.865956961@linuxfoundation.org> References: <20250319143026.865956961@linuxfoundation.org> User-Agent: quilt/0.68 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: Bard Liao [ Upstream commit 247fba13416af65b155949bae582d55c310f58b6 ] SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT722_SDCA_ENT_FU15, RT722_SDCA_CTL_FU_CH_GAIN, CH_01) ... SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT722_SDCA_ENT_FU15, RT722_SDCA_CTL_FU_CH_GAIN, CH_04) are used by the "FU15 Boost Volume" control, but not marked as readable. And the mbq size are 2 for those registers. Fixes: 7f5d6036ca005 ("ASoC: rt722-sdca: Add RT722 SDCA driver") Signed-off-by: Bard Liao Reviewed-by: Ranjani Sridharan Reviewed-by: Shuming Fan Link: https://patch.msgid.link/20250310080440.58797-1-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/rt722-sdca-sdw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/codecs/rt722-sdca-sdw.c b/sound/soc/codecs/rt722-sdca-sdw.c index d5c985ff5ac55..5449d6b5cf3d1 100644 --- a/sound/soc/codecs/rt722-sdca-sdw.c +++ b/sound/soc/codecs/rt722-sdca-sdw.c @@ -86,6 +86,10 @@ static bool rt722_sdca_mbq_readable_register(struct device *dev, unsigned int re case 0x6100067: case 0x6100070 ... 0x610007c: case 0x6100080: + case SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT722_SDCA_ENT_FU15, RT722_SDCA_CTL_FU_CH_GAIN, + CH_01) ... + SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT722_SDCA_ENT_FU15, RT722_SDCA_CTL_FU_CH_GAIN, + CH_04): case SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT722_SDCA_ENT_USER_FU1E, RT722_SDCA_CTL_FU_VOLUME, CH_01): case SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT722_SDCA_ENT_USER_FU1E, RT722_SDCA_CTL_FU_VOLUME, -- 2.39.5