Patch "ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled" has been added to the 6.0-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled

to the 6.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-sof-fix-compilation-when-hda_audio_codec-config-is-disabled.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 1cda83e42bf66beb06bf61c7a78951ec0c028898 Mon Sep 17 00:00:00 2001
From: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>
Date: Fri, 19 Aug 2022 14:47:40 +0200
Subject: ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled

From: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>

commit 1cda83e42bf66beb06bf61c7a78951ec0c028898 upstream.

hda_codec_device_init() expects three parameters, not two.

Fixes: 3fd63658caed ("ASoC: Intel: Drop hdac_ext usage for codec device creation")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>
Acked-by: Mark Brown <broonie@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20220819124740.3564862-1-cezary.rojewski@xxxxxxxxx
Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 sound/soc/sof/intel/hda-codec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/soc/sof/intel/hda-codec.c
+++ b/sound/soc/sof/intel/hda-codec.c
@@ -213,7 +213,7 @@ out:
 		put_device(&codec->core.dev);
 	}
 #else
-	codec = hda_codec_device_init(&hbus->core, address);
+	codec = hda_codec_device_init(&hbus->core, address, HDA_DEV_ASOC);
 	ret = PTR_ERR_OR_ZERO(codec);
 #endif
 


Patches currently in stable-queue which might be from cezary.rojewski@xxxxxxxxx are

queue-6.0/asoc-sof-intel-introduce-hda-codec-init-and-exit-rou.patch
queue-6.0/asoc-sof-fix-compilation-when-hda_audio_codec-config-is-disabled.patch
queue-6.0/asoc-intel-skylake-introduce-hda-codec-init-and-exit.patch
queue-6.0/asoc-intel-skylake-fix-possible-memory-leak-in-skl_codec_device_init.patch
queue-6.0/asoc-intel-drop-hdac_ext-usage-for-codec-device-crea.patch
queue-6.0/asoc-intel-fix-unused-variable-warning-in-probe_codec.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux