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 C4F2818BC36; Wed, 19 Mar 2025 14:40:44 +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=1742395244; cv=none; b=S4E78n2c5rgIcbumrkcPP7PMXeG2uPRpwy8MOLkaG+c7mqEjbm+DHlCTAButuUz2I/s/EZ30uGZkzbR4PpK8WxkqKeChbZcG38CAZdnW3J8ecSO2yjGmhCFv9wmQNC49HW7RP9VmEV9U7hK56qC6qn3jUFXA7T/wcxzJocQ273E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742395244; c=relaxed/simple; bh=S4kg65Sy8YL7YQunM2SLuy0ElZDrj2n5IE4QB/BtgI8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cMoFIBTVLQbm7aqM44GdVg/ers9Q/ikE4Jbohg+RfiCgXFiDuzQXBaPuGgrKEYVKo3sxdBYvJnABW+cecQzBSAih0eRnvHlf2qsnB6XWY/NsudKU19P5wGTkREI0GGSe0Wvv8VIiGo+P5UHYH66kfXpMhJOARzoEYZobANFL/YQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vhBxEMT4; 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="vhBxEMT4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97794C4CEE4; Wed, 19 Mar 2025 14:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1742395244; bh=S4kg65Sy8YL7YQunM2SLuy0ElZDrj2n5IE4QB/BtgI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vhBxEMT4dP4bx+jqiVQFUAf9RdBoqEYS6DhRzi3kH2NoPkTlMbqXhnLHX+Tm+Pkpd eu1ZzKywRbT8GXgQzTSGqA14Z3sw7JkUradskvowgQ1bFnh8U/rTktgXdxWLcDZ45+ XFzJRo9x/SLcdbIVkCoG/eHzkv9UNi/JaVhVW7cI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Terry Cheong , Bard Liao , Johny Lin , =?UTF-8?q?P=C3=A9ter=20Ujfalusi?= , Mark Brown , Sasha Levin Subject: [PATCH 6.6 072/166] ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module Date: Wed, 19 Mar 2025 07:30:43 -0700 Message-ID: <20250319143021.964470475@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250319143019.983527953@linuxfoundation.org> References: <20250319143019.983527953@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Terry Cheong [ Upstream commit 33b7dc7843dbdc9b90c91d11ba30b107f9138ffd ] In enviornment without KMOD requesting module may fail to load snd-hda-codec-hdmi, resulting in HDMI audio not usable. Add softdep to loading HDMI codec module first to ensure we can load it correctly. Signed-off-by: Terry Cheong Reviewed-by: Bard Liao Reviewed-by: Johny Lin Reviewed-by: Péter Ujfalusi Signed-off-by: Peter Ujfalusi Link: https://patch.msgid.link/20250206094723.18013-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/intel/hda-codec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sof/intel/hda-codec.c b/sound/soc/sof/intel/hda-codec.c index 328d7c227b218..82a6707fb4b80 100644 --- a/sound/soc/sof/intel/hda-codec.c +++ b/sound/soc/sof/intel/hda-codec.c @@ -444,6 +444,7 @@ int hda_codec_i915_exit(struct snd_sof_dev *sdev) } EXPORT_SYMBOL_NS_GPL(hda_codec_i915_exit, SND_SOC_SOF_HDA_AUDIO_CODEC_I915); +MODULE_SOFTDEP("pre: snd-hda-codec-hdmi"); #endif MODULE_LICENSE("Dual BSD/GPL"); -- 2.39.5