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 7FF7728FFC0; Tue, 25 Mar 2025 12:26:27 +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=1742905587; cv=none; b=tclnYR2lsoF5AtekhL1JuhwB3cH/kE1j8BQIIRR5FWS9zOTAwH9txzCeQyfwYuwyFLXIOcKSfrTKMiYyOy2iW6hF56GiDRUdQZ1H1d2PxG+/UAh2PyL9CoF0zcCI5bQJ5VXuHpottCczVM3Li58p20sjVih4Y46e66TYQuBmXlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742905587; c=relaxed/simple; bh=zF+Pday6PSPckWzpVHfv4x8BNd4+FjUfnrrHBEa4BpM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MwYFTjgT4Jn+mWmtgBeMy9hoiEhUQfF21WWjsi9bZkE4D0jrliRA81l++M3b5ZHA9F+OIrx671LIQ/Gk7vtjEF6RuTwhizufw5VbBoQQ5uIusHaGKf2Q40xBPl247zimVaUNHMti8HElhCBVNvIgkSOkFAF/WEAyFd10WQXQuxI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eH/pTRzv; 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="eH/pTRzv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F6A7C4CEF1; Tue, 25 Mar 2025 12:26:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1742905587; bh=zF+Pday6PSPckWzpVHfv4x8BNd4+FjUfnrrHBEa4BpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eH/pTRzvzwK4RC7p4hhrjmiBW4B8hHHPcH/LZNNvzy4hChIyaabgjduAntjP69JVQ UCV/gPm/C8GQH1Kd2arbBL+ihuTuhMCpIEppQj1lUXSr5xucMtLRd6jHl3HnTYqlUa jidYA/EsChhrc3yffERf3NXF1IvaP5C8yGuMfLfE= 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.1 056/198] ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module Date: Tue, 25 Mar 2025 08:20:18 -0400 Message-ID: <20250325122158.104960226@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250325122156.633329074@linuxfoundation.org> References: <20250325122156.633329074@linuxfoundation.org> User-Agent: quilt/0.68 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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.1-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 a0dfd7de431fe..a75f81116643b 100644 --- a/sound/soc/sof/intel/hda-codec.c +++ b/sound/soc/sof/intel/hda-codec.c @@ -282,6 +282,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