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 3931534678E; Fri, 21 Nov 2025 13:16:08 +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=1763730968; cv=none; b=oJ4aMkJ7xsc0sKmOVMRLbzxj4whUJN9LMyZSL+Br7ht9ZqATh2XR+qPycdouH7JogTAUJUS5mC685QgZFttuG+YEyDVfsadBJrr6P5h93BV6HV1lRMLCCFBVaCB8Mz9bd6h8M/uzGjHJerSi+q00S2sWo/wryDJVe50Yiit7iFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763730968; c=relaxed/simple; bh=cIjQI+mGtRoK9cQTRwd0xnqg/RPXe8QPMpH0vhXSS6U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PvL2WTX/QC7K20El0/XqyAiAj3fzfUNWpvVx8y86PqRf0OjCvcbIzCsSyuvRzX3RtIcUsd8zNSg9o9wKQcRmwMuhdrh2+WfeGyuaLgT3phGv1E2BoGPHgRUPf1q5CaB+W3FPFVQH68AabHVM0xQaz5qvZyIhqndgctbxdY6+tf4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C8i3FWBy; 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="C8i3FWBy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F53BC4CEFB; Fri, 21 Nov 2025 13:16:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1763730968; bh=cIjQI+mGtRoK9cQTRwd0xnqg/RPXe8QPMpH0vhXSS6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C8i3FWByfCsCmXmhDwaEs6xkwq15N7pp5xiiFaWuxHagZJoP5C8LvRjmACCD5r2J+ HIUNod+9cE8pn99DWmRxOW5Qd+IjGT/0tyU8/WQfHuRDpofp398UJg07TXOXe8gTXK 42On9uJgOzIMTqc9TkZAfl8tqe2SexjbFl1MrJ5s= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Sharique Mohammad , Mark Brown , Sasha Levin Subject: [PATCH 6.17 043/247] ASoC: max98090/91: fixed max98091 ALSA widget powering up/down Date: Fri, 21 Nov 2025 14:09:50 +0100 Message-ID: <20251121130156.148775951@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251121130154.587656062@linuxfoundation.org> References: <20251121130154.587656062@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sharique Mohammad [ Upstream commit 7a37291ed40a33a5f6c3d370fdde5ee0d8f7d0e4 ] The widgets DMIC3_ENA and DMIC4_ENA must be defined in the DAPM suppy widget, just like DMICL_ENA and DMICR_ENA. Whenever they are turned on or off, the required startup or shutdown sequences must be taken care by the max98090_shdn_event. Signed-off-by: Sharique Mohammad Link: https://patch.msgid.link/20251015134215.750001-1-sharq0406@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/max98090.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index 22177c1ce1602..cb1508fc99f89 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c @@ -1234,9 +1234,11 @@ static const struct snd_soc_dapm_widget max98091_dapm_widgets[] = { SND_SOC_DAPM_INPUT("DMIC4"), SND_SOC_DAPM_SUPPLY("DMIC3_ENA", M98090_REG_DIGITAL_MIC_ENABLE, - M98090_DIGMIC3_SHIFT, 0, NULL, 0), + M98090_DIGMIC3_SHIFT, 0, max98090_shdn_event, + SND_SOC_DAPM_POST_PMU), SND_SOC_DAPM_SUPPLY("DMIC4_ENA", M98090_REG_DIGITAL_MIC_ENABLE, - M98090_DIGMIC4_SHIFT, 0, NULL, 0), + M98090_DIGMIC4_SHIFT, 0, max98090_shdn_event, + SND_SOC_DAPM_POST_PMU), }; static const struct snd_soc_dapm_route max98090_dapm_routes[] = { -- 2.51.0