-From 27923e84894bd6e88790b0d8e8f5936ef8d8f8b3 Mon Sep 17 00:00:00 2001
+From 0d0bb50d7dadeb3ea01a3dc9d340d887cc283958 Mon Sep 17 00:00:00 2001
From: Sasha Levin <sashal@kernel.org>
Date: Fri, 26 Jul 2024 18:07:26 +0800
Subject: ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- sound/pci/hda/patch_conexant.c | 54 ++++++----------------------------
+ sound/pci/hda/patch_conexant.c | 54 ++++++-----------------------------------
1 file changed, 9 insertions(+), 45 deletions(-)
-diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
-index 76ea4fb391fed..338f9d7462cd9 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -21,12 +21,6 @@
bool is_cx8070_sn6140;
};
-@@ -250,48 +243,19 @@ static void cx_process_headset_plugin(struct hda_codec *codec)
+@@ -250,48 +243,19 @@ static void cx_process_headset_plugin(st
}
}
+ cx_process_headset_plugin(codec);
}
- static int cx_auto_suspend(struct hda_codec *codec)
-@@ -305,7 +269,7 @@ static const struct hda_codec_ops cx_auto_patch_ops = {
+ #ifdef CONFIG_PM
+@@ -307,7 +271,7 @@ static const struct hda_codec_ops cx_aut
.build_pcms = snd_hda_gen_build_pcms,
.init = cx_auto_init,
.free = cx_auto_free,
- .unsol_event = cx_jack_unsol_event,
+ .unsol_event = snd_hda_jack_unsol_event,
+ #ifdef CONFIG_PM
.suspend = cx_auto_suspend,
.check_power_status = snd_hda_gen_check_power_status,
- };
-@@ -1163,7 +1127,7 @@ static int patch_conexant_auto(struct hda_codec *codec)
+@@ -1167,7 +1131,7 @@ static int patch_conexant_auto(struct hd
case 0x14f11f86:
case 0x14f11f87:
spec->is_cx8070_sn6140 = true;
break;
}
---
-2.43.0
-
+++ /dev/null
-From c5809eddd3d1d543051688b3e0d5fe1140d96853 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 6 May 2024 18:13:50 +0200
-Subject: ALSA: hda: conexant: Reduce CONFIG_PM dependencies
-
-From: Takashi Iwai <tiwai@suse.de>
-
-[ Upstream commit 29d57f6dc62485ee0752767debdfa2783d162beb ]
-
-CONFIG_PM dependencies got reduced in HD-audio codec core driver, and
-now it's time to reduce in HD-audio conexant codec driver, too.
-
-Simply drop CONFIG_PM ifdefs.
-
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
-Link: https://lore.kernel.org/r/20240506161359.6960-8-tiwai@suse.de
-Stable-dep-of: e60dc9812211 ("ALSA: hda: conexant: Fix headset auto detect fail in the polling mode")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- sound/pci/hda/patch_conexant.c | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
-index 876380ad2ed13..76ea4fb391fed 100644
---- a/sound/pci/hda/patch_conexant.c
-+++ b/sound/pci/hda/patch_conexant.c
-@@ -294,13 +294,11 @@ static void cx_jack_unsol_event(struct hda_codec *codec, unsigned int res)
- snd_hda_jack_unsol_event(codec, res);
- }
-
--#ifdef CONFIG_PM
- static int cx_auto_suspend(struct hda_codec *codec)
- {
- cx_auto_shutdown(codec);
- return 0;
- }
--#endif
-
- static const struct hda_codec_ops cx_auto_patch_ops = {
- .build_controls = snd_hda_gen_build_controls,
-@@ -308,10 +306,8 @@ static const struct hda_codec_ops cx_auto_patch_ops = {
- .init = cx_auto_init,
- .free = cx_auto_free,
- .unsol_event = cx_jack_unsol_event,
--#ifdef CONFIG_PM
- .suspend = cx_auto_suspend,
- .check_power_status = snd_hda_gen_check_power_status,
--#endif
- };
-
- /*
---
-2.43.0
-
drm-nouveau-prime-fix-refcount-underflow.patch
drm-vmwgfx-fix-overlay-when-using-screen-targets.patch
sched-act_ct-take-care-of-padding-in-struct-zones_ht.patch
-alsa-hda-conexant-reduce-config_pm-dependencies.patch
alsa-hda-conexant-fix-headset-auto-detect-fail-in-th.patch
rtnetlink-enable-alt_ifname-for-setlink-newlink.patch
rtnetlink-don-t-ignore-ifla_target_netnsid-when-ifna.patch
-From 5e8a86ba045c4307d6bd04252e67e63eb9b2154a Mon Sep 17 00:00:00 2001
+From 0d0bb50d7dadeb3ea01a3dc9d340d887cc283958 Mon Sep 17 00:00:00 2001
From: Sasha Levin <sashal@kernel.org>
Date: Fri, 26 Jul 2024 18:07:26 +0800
Subject: ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- sound/pci/hda/patch_conexant.c | 54 ++++++----------------------------
+ sound/pci/hda/patch_conexant.c | 54 ++++++-----------------------------------
1 file changed, 9 insertions(+), 45 deletions(-)
-diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
-index 17389a3801bd1..4472923ba694b 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -21,12 +21,6 @@
bool is_cx8070_sn6140;
};
-@@ -250,48 +243,19 @@ static void cx_process_headset_plugin(struct hda_codec *codec)
+@@ -250,48 +243,19 @@ static void cx_process_headset_plugin(st
}
}
+ cx_process_headset_plugin(codec);
}
- static int cx_auto_suspend(struct hda_codec *codec)
-@@ -305,7 +269,7 @@ static const struct hda_codec_ops cx_auto_patch_ops = {
+ #ifdef CONFIG_PM
+@@ -307,7 +271,7 @@ static const struct hda_codec_ops cx_aut
.build_pcms = snd_hda_gen_build_pcms,
.init = cx_auto_init,
.free = cx_auto_free,
- .unsol_event = cx_jack_unsol_event,
+ .unsol_event = snd_hda_jack_unsol_event,
+ #ifdef CONFIG_PM
.suspend = cx_auto_suspend,
.check_power_status = snd_hda_gen_check_power_status,
- };
-@@ -1163,7 +1127,7 @@ static int patch_conexant_auto(struct hda_codec *codec)
+@@ -1167,7 +1131,7 @@ static int patch_conexant_auto(struct hd
case 0x14f11f86:
case 0x14f11f87:
spec->is_cx8070_sn6140 = true;
break;
}
---
-2.43.0
-
+++ /dev/null
-From b3ad12d5742bba25b7d3c883ce724278d0ce2f04 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 6 May 2024 18:13:50 +0200
-Subject: ALSA: hda: conexant: Reduce CONFIG_PM dependencies
-
-From: Takashi Iwai <tiwai@suse.de>
-
-[ Upstream commit 29d57f6dc62485ee0752767debdfa2783d162beb ]
-
-CONFIG_PM dependencies got reduced in HD-audio codec core driver, and
-now it's time to reduce in HD-audio conexant codec driver, too.
-
-Simply drop CONFIG_PM ifdefs.
-
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
-Link: https://lore.kernel.org/r/20240506161359.6960-8-tiwai@suse.de
-Stable-dep-of: e60dc9812211 ("ALSA: hda: conexant: Fix headset auto detect fail in the polling mode")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- sound/pci/hda/patch_conexant.c | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
-index e8209178d87bb..17389a3801bd1 100644
---- a/sound/pci/hda/patch_conexant.c
-+++ b/sound/pci/hda/patch_conexant.c
-@@ -294,13 +294,11 @@ static void cx_jack_unsol_event(struct hda_codec *codec, unsigned int res)
- snd_hda_jack_unsol_event(codec, res);
- }
-
--#ifdef CONFIG_PM
- static int cx_auto_suspend(struct hda_codec *codec)
- {
- cx_auto_shutdown(codec);
- return 0;
- }
--#endif
-
- static const struct hda_codec_ops cx_auto_patch_ops = {
- .build_controls = snd_hda_gen_build_controls,
-@@ -308,10 +306,8 @@ static const struct hda_codec_ops cx_auto_patch_ops = {
- .init = cx_auto_init,
- .free = cx_auto_free,
- .unsol_event = cx_jack_unsol_event,
--#ifdef CONFIG_PM
- .suspend = cx_auto_suspend,
- .check_power_status = snd_hda_gen_check_power_status,
--#endif
- };
-
- /*
---
-2.43.0
-
drm-vmwgfx-fix-overlay-when-using-screen-targets.patch
drm-vmwgfx-trigger-a-modeset-when-the-screen-moves.patch
sched-act_ct-take-care-of-padding-in-struct-zones_ht.patch
-alsa-hda-conexant-reduce-config_pm-dependencies.patch
alsa-hda-conexant-fix-headset-auto-detect-fail-in-th.patch
bluetooth-hci_sync-fix-suspending-with-wrong-filter-.patch
net-axienet-start-napi-before-enabling-rx-tx.patch
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- sound/pci/hda/patch_conexant.c | 54 ++++++----------------------------
+ sound/pci/hda/patch_conexant.c | 54 ++++++-----------------------------------
1 file changed, 9 insertions(+), 45 deletions(-)
-diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
-index 17389a3801bd1..4472923ba694b 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -21,12 +21,6 @@
bool is_cx8070_sn6140;
};
-@@ -250,48 +243,19 @@ static void cx_process_headset_plugin(struct hda_codec *codec)
+@@ -250,48 +243,19 @@ static void cx_process_headset_plugin(st
}
}
+ cx_process_headset_plugin(codec);
}
- static int cx_auto_suspend(struct hda_codec *codec)
-@@ -305,7 +269,7 @@ static const struct hda_codec_ops cx_auto_patch_ops = {
+ #ifdef CONFIG_PM
+@@ -307,7 +271,7 @@ static const struct hda_codec_ops cx_aut
.build_pcms = snd_hda_gen_build_pcms,
.init = cx_auto_init,
.free = cx_auto_free,
- .unsol_event = cx_jack_unsol_event,
+ .unsol_event = snd_hda_jack_unsol_event,
+ #ifdef CONFIG_PM
.suspend = cx_auto_suspend,
.check_power_status = snd_hda_gen_check_power_status,
- };
-@@ -1163,7 +1127,7 @@ static int patch_conexant_auto(struct hda_codec *codec)
+@@ -1167,7 +1131,7 @@ static int patch_conexant_auto(struct hd
case 0x14f11f86:
case 0x14f11f87:
spec->is_cx8070_sn6140 = true;
break;
}
---
-2.43.0
-
+++ /dev/null
-From 80d488ef40f082120bd9cad8aa151bf07e10d863 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 6 May 2024 18:13:50 +0200
-Subject: ALSA: hda: conexant: Reduce CONFIG_PM dependencies
-
-From: Takashi Iwai <tiwai@suse.de>
-
-[ Upstream commit 29d57f6dc62485ee0752767debdfa2783d162beb ]
-
-CONFIG_PM dependencies got reduced in HD-audio codec core driver, and
-now it's time to reduce in HD-audio conexant codec driver, too.
-
-Simply drop CONFIG_PM ifdefs.
-
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
-Link: https://lore.kernel.org/r/20240506161359.6960-8-tiwai@suse.de
-Stable-dep-of: e60dc9812211 ("ALSA: hda: conexant: Fix headset auto detect fail in the polling mode")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- sound/pci/hda/patch_conexant.c | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
-index e8209178d87bb..17389a3801bd1 100644
---- a/sound/pci/hda/patch_conexant.c
-+++ b/sound/pci/hda/patch_conexant.c
-@@ -294,13 +294,11 @@ static void cx_jack_unsol_event(struct hda_codec *codec, unsigned int res)
- snd_hda_jack_unsol_event(codec, res);
- }
-
--#ifdef CONFIG_PM
- static int cx_auto_suspend(struct hda_codec *codec)
- {
- cx_auto_shutdown(codec);
- return 0;
- }
--#endif
-
- static const struct hda_codec_ops cx_auto_patch_ops = {
- .build_controls = snd_hda_gen_build_controls,
-@@ -308,10 +306,8 @@ static const struct hda_codec_ops cx_auto_patch_ops = {
- .init = cx_auto_init,
- .free = cx_auto_free,
- .unsol_event = cx_jack_unsol_event,
--#ifdef CONFIG_PM
- .suspend = cx_auto_suspend,
- .check_power_status = snd_hda_gen_check_power_status,
--#endif
- };
-
- /*
---
-2.43.0
-
sched-act_ct-take-care-of-padding-in-struct-zones_ht.patch
wifi-cfg80211-fix-reporting-failed-mlo-links-status-.patch
net-phy-realtek-add-support-for-rtl8366s-gigabit-phy.patch
-alsa-hda-conexant-reduce-config_pm-dependencies.patch
alsa-hda-conexant-fix-headset-auto-detect-fail-in-th.patch
bluetooth-btintel-fail-setup-on-error.patch
bluetooth-hci_sync-fix-suspending-with-wrong-filter-.patch