]> Git Repo - linux.git/commitdiff
Merge tag 'sound-6.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
authorLinus Torvalds <[email protected]>
Fri, 17 Nov 2023 14:05:31 +0000 (09:05 -0500)
committerLinus Torvalds <[email protected]>
Fri, 17 Nov 2023 14:05:31 +0000 (09:05 -0500)
Pull sound fixes from Takashi Iwai:
 "A collection of small fixes: including a regression fix in RC1 wrt
  HD-audio / i915 component binding, while the rest are HD-audio
  device-speific fixes / quirks"

* tag 'sound-6.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
  ALSA: hda/realtek: Add quirks for HP Laptops
  ALSA: hda/realtek: Add quirks for ASUS 2024 Zenbooks
  ALSA: hda: i915: Alays handle -EPROBE_DEFER
  ALSA: hda/realtek: Enable Mute LED on HP 255 G10
  ALSA: hda: cs35l56: Enable low-power hibernation mode on i2c
  ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
  ALSA: hda/realtek: Enable Mute LED on HP 255 G8
  ALSA: hda/realtek - Add Dell ALC295 to pin fall back table

1  2 
sound/pci/hda/hda_intel.c

index 03264915c618332a214fe1ee35678502625f8765,e79508002bb1afb224b2353a0c49cd60b30b67e2..db90feb49c16e2ca0104be952efd32279837bd61
@@@ -1417,11 -1417,17 +1417,11 @@@ static bool atpx_present(void
        acpi_handle dhandle, atpx_handle;
        acpi_status status;
  
 -      while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, pdev)) != NULL) {
 -              dhandle = ACPI_HANDLE(&pdev->dev);
 -              if (dhandle) {
 -                      status = acpi_get_handle(dhandle, "ATPX", &atpx_handle);
 -                      if (ACPI_SUCCESS(status)) {
 -                              pci_dev_put(pdev);
 -                              return true;
 -                      }
 -              }
 -      }
 -      while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_OTHER << 8, pdev)) != NULL) {
 +      while ((pdev = pci_get_base_class(PCI_BASE_CLASS_DISPLAY, pdev))) {
 +              if ((pdev->class != PCI_CLASS_DISPLAY_VGA << 8) &&
 +                  (pdev->class != PCI_CLASS_DISPLAY_OTHER << 8))
 +                      continue;
 +
                dhandle = ACPI_HANDLE(&pdev->dev);
                if (dhandle) {
                        status = acpi_get_handle(dhandle, "ATPX", &atpx_handle);
@@@ -2135,6 -2141,9 +2135,9 @@@ static int azx_probe(struct pci_dev *pc
        if (chip->driver_caps & AZX_DCAPS_I915_COMPONENT) {
                err = snd_hdac_i915_init(azx_bus(chip));
                if (err < 0) {
+                       if (err == -EPROBE_DEFER)
+                               goto out_free;
                        /* if the controller is bound only with HDMI/DP
                         * (for HSW and BDW), we need to abort the probe;
                         * for other chips, still continue probing as other
This page took 0.068264 seconds and 4 git commands to generate.