Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 61CE04B128F for ; Wed, 9 Sep 2026 10:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788949687; cv=none; b=Cehr98eKy7dKIABdiFaFxAesEsjyXiWWR5b3xe1o8f7gBGm6WuODITcPSp2OuPb1Z66GoknRW3F7fl6WlNNAVRhjXB5DQ6Tu+BWzXHU3eG6d4h1zS28Go9sb0+yV31rfujIcv1WxqC3e2WCPAfeuH/UFGmQiTv4sowOiB9QiVS8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788949687; c=relaxed/simple; bh=tAAs7SsEE6yNyNlA4QygxHQ3hCGp/6sRGQL8biKUzTg=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=dPb7w7kmBqy5o/3neNiimCxpR2daCLc00bbtBF+Qsyr4rEFhMwL2+WRM1KRo0bdubwR8QHzfs1qTr+hcFTMS5RGz80bw/4uJABle+ADAJ0DvcONTyHxpvBCH+hdrtcJDasb2Q5p53VsjjtGj8BIURM1mWJMNdWJLiRROJv5Xuvc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1zyiMaP/; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1zyiMaP/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B9281F00A3D; Wed, 9 Sep 2026 10:28:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788949686; bh=YUaJ4JRuswvtq64K9G3p0nE2EofuBy0ZE82aSfuVwRQ=; h=Subject:To:Cc:From:Date; b=1zyiMaP/PJeztL195higI3wrmlRqzJirwi9X2u9R22KFuYBAk5S9K4KNCVwk3KbLf negdJPHyiUbLDX+xjqP7qJSmG8X1bK/3IghBLxMw++9mmzKJzKL/C5Czli+ejgpOX+ vJa7fwBMWkFuscleE/PYejUuRYIEPi/0HPSBf68k= Subject: FAILED: patch "[PATCH] ASoC: tas2764: sort the register default table" failed to apply to 5.15-stable tree To: peter.ujfalusi@linux.intel.com,broonie@kernel.org Cc: From: Date: Wed, 09 Sep 2026 12:16:26 +0200 Message-ID: <2026090926-affirm-protozoan-b415@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x e7643c3f7eb3292f8a98c2ddbf46ba78d848b83d # git commit -s git send-email --to '' --in-reply-to '2026090926-affirm-protozoan-b415@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From e7643c3f7eb3292f8a98c2ddbf46ba78d848b83d Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Wed, 5 Aug 2026 13:41:47 +0300 Subject: [PATCH] ASoC: tas2764: sort the register default table reg_defaults must be sorted by ascending register address, as regcache_lookup_reg() locates entries in it with bsearch(). See commit fd80df352ba1 ("regcache: Add support for sorting defaults arrays"). TAS2764_DVC (0x1a) is listed before TAS2764_CHNL_0 (0x03), which makes it unreachable. regcache_reg_needs_sync() then cannot compare it against its default and reports that a sync is needed, so it is written to the device on every regcache_sync() even when it was never touched. Sort the table by register address. Fixes: 827ed8a0fa50 ("ASoC: tas2764: Add the driver for the TAS2764") Cc: stable@vger.kernel.org Signed-off-by: Peter Ujfalusi Link: https://patch.msgid.link/20260805104149.9795-4-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown diff --git a/sound/soc/codecs/tas2764.c b/sound/soc/codecs/tas2764.c index b11b998aa32a..f9c65c9f6d0a 100644 --- a/sound/soc/codecs/tas2764.c +++ b/sound/soc/codecs/tas2764.c @@ -897,13 +897,13 @@ static const struct reg_default tas2764_reg_defaults[] = { { TAS2764_PAGE, 0x00 }, { TAS2764_SW_RST, 0x00 }, { TAS2764_PWR_CTRL, 0x1a }, - { TAS2764_DVC, 0x00 }, { TAS2764_CHNL_0, 0x28 }, { TAS2764_TDM_CFG0, 0x09 }, { TAS2764_TDM_CFG1, 0x02 }, { TAS2764_TDM_CFG2, 0x0a }, { TAS2764_TDM_CFG3, 0x10 }, { TAS2764_TDM_CFG5, 0x42 }, + { TAS2764_DVC, 0x00 }, { TAS2764_INT_CLK_CFG, 0x19 }, };