public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda: Add AZX_DCAPS_NO_TCSEL flag for Loongson HDA devices
@ 2025-01-14  8:07 Qunqin Zhao
  2025-01-14  8:46 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Qunqin Zhao @ 2025-01-14  8:07 UTC (permalink / raw)
  To: tiwai; +Cc: perex, linux-sound, linux-kernel, Qunqin Zhao

Loongson's HDA devices do not support TCSEL functionality.

Signed-off-by: Qunqin Zhao <zhaoqunqin@loongson.cn>
---
 sound/pci/hda/hda_intel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 4a62440adfaf..7d7f9aac50a9 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2738,9 +2738,9 @@ static const struct pci_device_id azx_ids[] = {
 	{ PCI_VDEVICE(ZHAOXIN, 0x3288), .driver_data = AZX_DRIVER_ZHAOXIN },
 	/* Loongson HDAudio*/
 	{ PCI_VDEVICE(LOONGSON, PCI_DEVICE_ID_LOONGSON_HDA),
-	  .driver_data = AZX_DRIVER_LOONGSON },
+	  .driver_data = AZX_DRIVER_LOONGSON | AZX_DCAPS_NO_TCSEL },
 	{ PCI_VDEVICE(LOONGSON, PCI_DEVICE_ID_LOONGSON_HDMI),
-	  .driver_data = AZX_DRIVER_LOONGSON },
+	  .driver_data = AZX_DRIVER_LOONGSON | AZX_DCAPS_NO_TCSEL },
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, azx_ids);

base-commit: 5bc55a333a2f7316b58edc7573e8e893f7acb532
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: hda: Add AZX_DCAPS_NO_TCSEL flag for Loongson HDA devices
  2025-01-14  8:07 [PATCH] ALSA: hda: Add AZX_DCAPS_NO_TCSEL flag for Loongson HDA devices Qunqin Zhao
@ 2025-01-14  8:46 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-01-14  8:46 UTC (permalink / raw)
  To: Qunqin Zhao; +Cc: tiwai, perex, linux-sound, linux-kernel

On Tue, 14 Jan 2025 09:07:00 +0100,
Qunqin Zhao wrote:
> 
> Loongson's HDA devices do not support TCSEL functionality.
> 
> Signed-off-by: Qunqin Zhao <zhaoqunqin@loongson.cn>

Thanks, applied now.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-14  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14  8:07 [PATCH] ALSA: hda: Add AZX_DCAPS_NO_TCSEL flag for Loongson HDA devices Qunqin Zhao
2025-01-14  8:46 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox