Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp468678lqb; Wed, 17 Apr 2024 01:32:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIw4k04uVGGRqCVTAByRCIQIZzkMSzwQVV4/dFxv5X5DyJDFjAXDgZVst1ktEnfj1wEkegXZDq0tCl2+FqJCR34lHHhqSD18M/gGK+mw== X-Google-Smtp-Source: AGHT+IGkwEDoBuggey3smIUlRn2XPBwKrYfDm3TPGqEAtJRTj8NO+e2bcrfbWCyIs7wfxKx4uGPR X-Received: by 2002:a05:6358:9814:b0:183:f7cb:af75 with SMTP id y20-20020a056358981400b00183f7cbaf75mr16771473rwa.32.1713342725256; Wed, 17 Apr 2024 01:32:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713342725; cv=pass; d=google.com; s=arc-20160816; b=VknyfdBlvs1bdvAflDx29AHkY/Fw+cnlfHKcUDPEeQ/TxCK5TsRZzq+xtr6/gqcaqD RWsFLT5A7bL3W0fVsQfkUqBwzD5/P2zfk1pVk90M2Mf6itqaVXkPjMhJKlUhrjMYhwMb advVG9AJaX9y2I8M1kNhBHOdPYLxvH8F/iRaLOE08YHF0rqXVzqokxCmAJT6VXw3cjHi jlKFmztF/wGvDkJAd2KADlq93xWTiyt5lCZrN0VtE0vrY9WtqtVKZapFkfOBCO7HH8XX g6VODG4kEhHXw74SGPRZ9kUV1DfWUde+7zM+Z77O5T3Fcl/1Kgz1BY4lwb9vcdrV8Ncq /Whg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=nmLAaYhyBUsFaBrhRWWZAQOdq6RHarRIgwAD5BZLtvY=; fh=zpUdbvIOZy/Y78+PtBCPVcQ5mOO50PDa0WFXt+23Kfw=; b=dbbn3njS4beCGVhHo6NnKft1hgreft7oJqpyBaYLhy4dhnOy8Is9MmLZHSvAAye9Ki LsLaUnpT1KocSEeMU6LjCx8U2x9QxXz+DiDz1KrWPXMrIftwFdITEh5lX039LS+4u6zd ttLA9DY/KCfDjPlIcGi0RD/w3O+KyDarMPPmUp8aqWzw5TG7yHf/ltBEuNxude911viy XWkA7W9Ha465FgV3HAOFEkHZSjeMLFVR08oVbpUIkgN5zVL5l0UgPpkojStbRnmIhWmz y3lHAUqmznf1CNMclOPkWzscXUT/QXLFpGp3xhu7BU95eGDPV9c0Xcf24AnBCL8xzf+F HT6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=altlinux.org); spf=pass (google.com: domain of linux-kernel+bounces-148145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148145-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bp20-20020a05620a459400b0078d660e8c23si15706064qkb.479.2024.04.17.01.32.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 01:32:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=altlinux.org); spf=pass (google.com: domain of linux-kernel+bounces-148145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148145-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F3BE51C21D73 for ; Wed, 17 Apr 2024 08:31:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 855ED8664B; Wed, 17 Apr 2024 08:31:38 +0000 (UTC) Received: from air.basealt.ru (air.basealt.ru [194.107.17.39]) (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 640A3653; Wed, 17 Apr 2024 08:31:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.107.17.39 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713342698; cv=none; b=Ht/IWuyEALGzLe9CvoCqNejcEqowDbYhxADXJyB+Y98bXILs3my79Fno1Xb5DqY542r1Xy7lbeH3bLh1vrjAsSUYLLyxWRkRkprm9jYKV6/ctQHHQXiQyuP3QxUh5nenwy0YdghRKQWlDl3TRY/FKgzOfiOgyuz7caK7xrJhpW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713342698; c=relaxed/simple; bh=nmLAaYhyBUsFaBrhRWWZAQOdq6RHarRIgwAD5BZLtvY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Epah4MkXdUQnbvLuOLHeGEoQ/acugq1JKN43hJ/OIAYVTm6WZvtunmOlxYb+Tri406VnZK0LlrXxkHUe7pIcV1RD1y/VeBJ4UT95dTLmYaWxlB5jhkGR3rg9nxB/GhwV+ZowVANzV2rZGGvMiZLOfFjt3h6pxHqOInQGmm8NaZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org; spf=pass smtp.mailfrom=altlinux.org; arc=none smtp.client-ip=194.107.17.39 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=altlinux.org Received: by air.basealt.ru (Postfix, from userid 490) id EA3282F2024D; Wed, 17 Apr 2024 08:31:26 +0000 (UTC) X-Spam-Level: Received: from altlinux.malta.altlinux.ru (obninsk.basealt.ru [217.15.195.17]) by air.basealt.ru (Postfix) with ESMTPSA id 2F67A2F20242; Wed, 17 Apr 2024 08:31:18 +0000 (UTC) From: kovalev@altlinux.org To: stable@vger.kernel.org Cc: broonie@kernel.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, zhuning0077@gmail.com, u.kleine-koenig@pengutronix.de, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH ver.2 6.1.y 0/6] ASoC: codecs: es8326: fix support (backport from v6.6) Date: Wed, 17 Apr 2024 11:31:10 +0300 Message-Id: <20240417083116.608610-1-kovalev@altlinux.org> X-Mailer: git-send-email 2.33.8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Without these patches, all tested laptop models using the es8326 audio codec have no sound from the speakers and headphones, and the headset microphone does not work. Although the initialization of the sound card is successful. -- ver.2: drop a commit that does not affect the fix of functionality; added an explanation that does not work on the current version of the kernel without patches. -- Patches have been successfully tested on the latest 6.1.86 kernel. [PATCH 6.1.y 1/6] ASoC: codecs: ES8326: Add es8326_mute function [PATCH 6.1.y 2/6] ASoC: codecs: ES8326: Change Hp_detect register names [PATCH 6.1.y 3/6] ASoC: codecs: ES8326: Change Volatile Reg function [PATCH 6.1.y 4/6] ASoC: codecs: ES8326: Fix power-up sequence [PATCH 6.1.y 5/6] ASOC: codecs: ES8326: Add calibration support for [PATCH 6.1.y 6/6] ASoC: codecs: ES8326: Update jact detection function