From nobody Tue Dec 2 01:04:46 2025 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (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 BF0682DFF1D for ; Mon, 24 Nov 2025 06:50:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763967038; cv=none; b=ocZIGJc/+nTNP8bFF2YsgynEGCwFEV3Z7Zbe0QbXyT+0csznm5SsEuTN3Wl1Pg13D0TiaRTA0PZohoLVMN+f7oH8zxufoLjPmI716FSW09BefOFs+P8sL3pd7EZ6XRlUfxGZH9DR1SkWvxob+C1QVLUlKIW7hPVV0u7kwLQiz98= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763967038; c=relaxed/simple; bh=c+evDW9Elw7Jyi8FB04DPqmRYklgmrA1qBTttF7Xz90=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CRsTMR68o/wBdKtZ0rnLeg1U+zU+asmL6aykuGAKQT/MErPg8zc0siY9SV9ALH13JqyvRpTDqxrAPNFgOAlLA8XGvk5StVoxH92j7tcHO359hMu60hoiFtbbiWtLqX/ygzKT4K4hu7lq8Rry5Z2Iu0DCDaW9lB0l9suklDQxuOU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=marek.ca; spf=pass smtp.mailfrom=marek.ca; dkim=pass (2048-bit key) header.d=marek.ca header.i=@marek.ca header.b=A3xEhEF+; arc=none smtp.client-ip=209.85.222.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=marek.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marek.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marek.ca header.i=@marek.ca header.b="A3xEhEF+" Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-8b2ed01b95dso403124185a.0 for ; Sun, 23 Nov 2025 22:50:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek.ca; s=google; t=1763967036; x=1764571836; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=skch7R/1lPkeyinutaXG2JeYSmt7c1u7ahV+p8uoSAQ=; b=A3xEhEF+omTdzdqkWNz6hWHQ0wnvhSm6xIJm8qDK1vDrsRmiRF4yRuNyOEW7mFwMuy 3xYrGFsz7VzRGs73pLmSW94ncSEN8ht5CgzYC8K/CayyY9WUxnK8Mmt1f/pWZzws/fKT s7voHp0FQWwqSFCOVfh2dsePSW7/8j6P6vSX/rIwUsqowuotz+0plifVfzYATHZ0gOMn jlHFIkDxBtRjmYGgMZNXTj1wf4AiLNv5Oc0cw6/7yNrqlHQNgwHK03ZqyCdbJxc77dc0 tp3m+OypecaeJVAwRKyFtfwGIgNaad+890fJhp+g55jNUH2yC7VgZ2FMXh4O7on28HoU +dbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763967036; x=1764571836; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=skch7R/1lPkeyinutaXG2JeYSmt7c1u7ahV+p8uoSAQ=; b=VvVaDlGDqMmED15xYXDx86YhUUqeAvQgtMFxCbNbd0kuMCbgcR9/etwDJ/FUcfu6O1 m7OkrG1kCqg7mWSdkFsiKipcahnSmHRqEys/pBIaLD/ShhzGALe2tk4p1qz/L0yZEskN BTdWRErnRtRchtuVdHUZK/HMUCbX1MyUAiAcat3RN9sLwgh+L/9DNUAiw0Z0gJPInEQA hukZAGbUiQa998v1RQFh558j9rpK5dW/1E8lP6xXtAa9jR6/OiSp+JBCO9p6MUuuJ9gO R/HKjN8pfV3L1lgBumyiT6LBRaYIDdnFSwCNQxwP0+5WzLm0SMGVZKm1W72+0M9odCIM ipzw== X-Forwarded-Encrypted: i=1; AJvYcCUYAh/byKbaf+i3sy5vvkugKu6A23GIb6qqKvSvpUqEMovGKa9Ju+vlHLDuE1LSphOSccKOFdJewO7zjj4=@vger.kernel.org X-Gm-Message-State: AOJu0Ywq+MIWpeXgyDFJ6Nh1L0nth1W6W2fOCB6RRySQKHFMpR9qfAlA DDOEaO3kpj/7A/W3buBA2TAAZE5TxvjqoJ+uwo00/ycprK+HHOBIoLL4sVTicJdN5FI= X-Gm-Gg: ASbGncu4rLpMNbHTA0XoikxCHP4G82eI4O1146xsucDLWOwfRczvjCmaw4LsPh1r+Ng uRud6Cigv6sW+UHU8k6nPv9UVEwNo+UvmtVcTwVS90sJ3Acf5GCgITHzrTuM/xHV78vkUzGV9qF jS3pXvH+2gZZqYXJV1Y/7pq8fY3LdIn4Im9JQkPkMEZYlyPpjd2rTmEsUxnb8egstOj6gMGBCHZ RUHbNcZWKq1LfepG3pqpvwOqGmAd3nkGFmfSW/OD9i0fOcCU20mPsZF7BO7nvCBQ3Lp75lCr1uF lxU7X924l1Jy3wow6r7qsc8oR8GeAdr6F/tx+Z/Da9wJnN5RkREg1CptI67FT24Da/z/3kLMeDJ QgYNCqFugbvvpQncLDkHAcnTyQjvmIIrIDuPz+Fl1XXFcRGAAEHAvbqwv//J3hWY5+8wpaqoQ8d oEo6j+45kBqd6XDuFJfpEs5l7dOzUUnSY6OxMRAPgshkoMS/QdMRJweWSg9Np028Rjuw== X-Google-Smtp-Source: AGHT+IHhRRyQV5IXdiBdHoXPIY1Kec5ywogEhdJKq7fTD97tVKBwhIq12TY3XSAEWfkk2ZC6mRZpSA== X-Received: by 2002:a05:620a:31a6:b0:8b2:dd5b:fe80 with SMTP id af79cd13be357-8b33d48706amr1402951785a.79.1763967035481; Sun, 23 Nov 2025 22:50:35 -0800 (PST) Received: from localhost.localdomain (modemcable125.110-19-135.mc.videotron.ca. [135.19.110.125]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8b3295db8b1sm889075185a.40.2025.11.23.22.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Nov 2025 22:50:34 -0800 (PST) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Cc: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org (open list:QCOM AUDIO (ASoC) DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/6] ASoC: codecs: wsa883x: remove mute_unmute_on_trigger Date: Mon, 24 Nov 2025 01:45:55 -0500 Message-ID: <20251124064850.15419-3-jonathan@marek.ca> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124064850.15419-1-jonathan@marek.ca> References: <20251124064850.15419-1-jonathan@marek.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" trigger is atomic (non-schedulable), and soundwire register writes are not safe to run in an atomic context. (bus is locked with a mutex, and qcom driver's callback can also sleep if the FIFO is full). The important part of fixing the click/pop issue was removing the PA_EN writes from the dapm events, AFAICT this flag doesn't help anyway. Note I only tested the equivalent wsa884x change. Fixes: 805ce81826c8 ("ASoC: codecs: wsa883x: make use of new mute_unmute_on= _trigger flag") Signed-off-by: Jonathan Marek --- sound/soc/codecs/wsa883x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/wsa883x.c b/sound/soc/codecs/wsa883x.c index ca4520ade79aa..06e963b5e853e 100644 --- a/sound/soc/codecs/wsa883x.c +++ b/sound/soc/codecs/wsa883x.c @@ -1396,7 +1396,6 @@ static const struct snd_soc_dai_ops wsa883x_dai_ops = =3D { .hw_free =3D wsa883x_hw_free, .mute_stream =3D wsa883x_digital_mute, .set_stream =3D wsa883x_set_sdw_stream, - .mute_unmute_on_trigger =3D true, }; =20 static struct snd_soc_dai_driver wsa883x_dais[] =3D { --=20 2.51.0