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 2BF2719AD5C; Tue, 8 Apr 2025 11:41:09 +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=1744112469; cv=none; b=o/CtVoDKYBXdh8hBkAoiEaKLR+Z5E4+ScgLiZV66t0KJan3pof8fI0xXFeG3ENlF5LIBSb0CSZKsjnmjriSfdrtuY0Rk6YdFROJ4IBmwnb05l5kUArikdteZ3C4RBmgRc2/VkH+9AFVO7FUCobvPehbpbWfqECWvawTH77IhpfE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744112469; c=relaxed/simple; bh=OflOBp/R/2DumMj+MHzbcZMpi4UEx96MXmb+wKM2UNs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NXLBk7PrTDtmCyV66jXUCegx0pQ0nqnA4ZvcNrhhTp7quoFAYnslEVn9bMYkNMIha1N0glAXA7O3gKIKAK+grXvMQUis7kYsOhirX+dHNVAmwRya8FKrn9QizDNqf0HcsabMEy3B+P76hyJU69b+JV69J2IB1QBKHE76XlIpM2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a0oSdAX4; 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="a0oSdAX4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A992DC4CEEA; Tue, 8 Apr 2025 11:41:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744112469; bh=OflOBp/R/2DumMj+MHzbcZMpi4UEx96MXmb+wKM2UNs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a0oSdAX4ICLP/nnjXPdTreQKusELnUPNkuaxbgdMGcf84RVhMsYOjdKA9w42Qh0p+ iK8C/9d4jUoXoWRKFJhITzhpxc9Jarm+mppTJ0qrIsAmUQWV16cc+EUQ1TA4TU0cX2 YTk0y5FPpxjxmIj7CbOY2frsX7E2uzRyuVVa3vzA= 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 5.15 040/279] ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module Date: Tue, 8 Apr 2025 12:47:03 +0200 Message-ID: <20250408104827.462895734@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104826.319283234@linuxfoundation.org> References: <20250408104826.319283234@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 5.15-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 6744318de612e..0449e7a2669ff 100644 --- a/sound/soc/sof/intel/hda-codec.c +++ b/sound/soc/sof/intel/hda-codec.c @@ -258,6 +258,7 @@ int hda_codec_i915_exit(struct snd_sof_dev *sdev) } EXPORT_SYMBOL_NS(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