Ignore:
Timestamp:
Apr 19, 2025, 8:08:37 PM (4 months ago)
Author:
David Azarewicz
Message:

Merge in changes from 6.6-LTS branch.
Fixed additional 25+ problems.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/pci/cs4281.c

    r717 r772  
    13091309        chip->dual_codec = dual_codec;
    13101310
    1311 #ifndef TARGET_OS2
    13121311        err = pcim_iomap_regions(pci, 0x03, "CS4281"); /* 2 BARs */
    13131312        if (err < 0)
    13141313                return err;
    1315 #else
    1316         err = pci_request_regions(pci, "CS4281");
    1317         if (err < 0) {
    1318                 kfree(chip);
    1319                 pci_disable_device(pci);
    1320                 return err;
    1321         }
    1322 #endif
    13231314        chip->ba0_addr = pci_resource_start(pci, 0);
    13241315        chip->ba1_addr = pci_resource_start(pci, 1);
    13251316
    1326 #ifndef TARGET_OS2
    13271317        chip->ba0 = pcim_iomap_table(pci)[0];
    13281318        chip->ba1 = pcim_iomap_table(pci)[1];
    1329 #else
    1330         chip->ba0 = pci_ioremap_bar(pci, 0);
    1331         chip->ba1 = pci_ioremap_bar(pci, 1);
    1332 #endif
    13331319        if (devm_request_irq(&pci->dev, pci->irq, snd_cs4281_interrupt,
    13341320                             IRQF_SHARED, KBUILD_MODNAME, chip)) {
Note: See TracChangeset for help on using the changeset viewer.