Message ID | 20250215-apple-codec-changes-v1-7-723569b21b19@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE6731096F; Sat, 15 Feb 2025 00:04:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739577843; cv=none; b=gQWhl/M7xS9Opk0MRND+0Sqjkb+0W55n0eaEpgUul0jpVe/rfpbVtLkhLf0yAca3A9SFZV/VpuFOFrlTCIZ/e4HjRWGuaMwGzXutjbnsKHqcWTIBE0Whj8S9jQxsc86Vv8lzqWWAchRzVZ0S7mw7WUI0eN160OQnhEWS397VnDk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739577843; c=relaxed/simple; bh=Q0SPl5JH9LaHvgfDJ96M2NZKrxwY3FINQN2Up2ZYVLw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=af6x08IR1+jWY+sb2oAsAjbA7vThzPsPSYE8fWsxv62BUy2TD9O/S/JxwrBf8qm/unIMXqm0h31wh/UCVoX/6OK37sIs/CrQtkzivUVi3phnzHc0m9RgizR/Bfe0cVM+PgFYM70IcH4L2o9nY6aQpE0eL8qBk15+0CXcN55GDJo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DpwAE7XS; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DpwAE7XS" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-220bff984a0so46093215ad.3; Fri, 14 Feb 2025 16:04:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739577841; x=1740182641; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=03VCERuRQd3sonLjwX2xR3AgSfd5Oyw98QEf0M2noT4=; b=DpwAE7XSovHCQVrdlrDttQygRCqCnextqHu1/V5LNrRpzss3BVoqqXs4xuRic1+gYe sjLPEA/TA4MTYbrn2FTTXA+qCBjg9L3VNQ5wnBerFtoNCxWqmZ4qYnJu42w7G0LD7ku0 GPjNnoFjw7bicksT70QifcAj42JjeOGJAfPGdwPGao07QSNEJIVrWxsFsh4uk+sDOnDe 0LAhuzrqNhdOZGHiurqQcBG6U6HkmpHPy7HbTUZhDWi3LdwyhUSbD2mVTnhGbM4JrFBL kV7G1ZIEMPCeMd2vv2rg6yMHzsppUJg8LCdHdS7JxKHOcY8zvefHWHGqRFjjYN3rTiyI khQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739577841; x=1740182641; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=03VCERuRQd3sonLjwX2xR3AgSfd5Oyw98QEf0M2noT4=; b=bbi95uyBFXi4WnSQSK2iUyprA1cmRh6LZrvu4A0UDeLql7xp83vXJJp9mcqaLNJZr+ fsvb5rTZjX25oBF2UoDkF7z0ewMcGhIH6+3KKH/XQK+xA4nn7ekHS8IGh0btTX7i2xeY Ayxf4wlFDTnLalP+CUjSPHqX83pP0uyYnZduJ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W4omoAqNlYhJuWy8T6ng== X-Received: by 2002:a17:902:ce06:b0:21d:3bee:990c with SMTP id d9443c01a7336-221040a99cemr16511975ad.42.1739577840941; Fri, 14 Feb 2025 16:04:00 -0800 (PST) Received: from [192.168.2.3] (2403-580a-80ed-0-4835-5a07-49e7-f115.ip6.aussiebb.net. [2403:580a:80ed:0:4835:5a07:49e7:f115]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-220f26ea127sm15071155ad.96.2025.02.14.16.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 16:04:00 -0800 (PST) From: James Calligeros <jcalligeros99@gmail.com> Date: Sat, 15 Feb 2025 10:02:40 +1000 Subject: [PATCH 07/27] ASoC: tas2764: Reinit cache on part reset Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: <linux-sound.vger.kernel.org> List-Subscribe: <mailto:linux-sound+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-sound+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20250215-apple-codec-changes-v1-7-723569b21b19@gmail.com> References: <20250215-apple-codec-changes-v1-0-723569b21b19@gmail.com> In-Reply-To: <20250215-apple-codec-changes-v1-0-723569b21b19@gmail.com> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Shenghao Ding <shenghao-ding@ti.com>, Kevin Lu <kevin-lu@ti.com>, Baojun Xu <baojun.xu@ti.com>, Dan Murphy <dmurphy@ti.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Shi Fu <shifu0704@thundersoft.com> Cc: Alyssa Rosenzweig <alyssa@rosenzweig.io>, =?utf-8?q?Martin_Povi=C5=A1er?= <povik+lin@cutebit.org>, Hector Martin <marcan@marcan.st>, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, asahi@lists.linux.dev, James Calligeros <jcalligeros99@gmail.com> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1362; i=jcalligeros99@gmail.com; h=from:subject:message-id; bh=B1Sb5itjHDK3h5ZHbLewODahZLkXBqkrwz4IxIkfeXw=; b=owGbwMvMwCV2xczoYuD3ygTG02pJDOnrb261Fz3vOn+1fEP22nlTIuzP/Ap23/14z4oJmSFOV TqJQllaHaUsDGJcDLJiiiwbmoQ8Zhux3ewXqdwLM4eVCWQIAxenAExkhgMjw+1vHUck4v6af+r5 PD/iU+ua4Aszgt5nLLVSb8/RuWHXXM3I8PBZfitrjEPuMWNe3TlbP1uxrk570vRle1GfcMibrHg zFgA= X-Developer-Key: i=jcalligeros99@gmail.com; a=openpgp; fpr=B08212489B3206D98F1479BDD43632D151F77960 |
Series |
ASoC: tas27{64,70}: improve support for Apple codec variants
|
expand
|
diff --git a/sound/soc/codecs/tas2764.c b/sound/soc/codecs/tas2764.c index 503bb7f8b729d3760194a6f6f6996ff6469c580f..6e91ad9229cad62860adc1f446fffc8872d32ca0 100644 --- a/sound/soc/codecs/tas2764.c +++ b/sound/soc/codecs/tas2764.c @@ -539,6 +539,8 @@ static uint8_t sn012776_bop_presets[] = { 0x06, 0x3e, 0x37, 0x30, 0xff, 0xe6 }; +static const struct regmap_config tas2764_i2c_regmap; + static int tas2764_codec_probe(struct snd_soc_component *component) { struct tas2764_priv *tas2764 = snd_soc_component_get_drvdata(component); @@ -552,6 +554,7 @@ static int tas2764_codec_probe(struct snd_soc_component *component) } tas2764_reset(tas2764); + regmap_reinit_cache(tas2764->regmap, &tas2764_i2c_regmap); if (tas2764->irq) { ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK0, 0xff);