Ignore:
Timestamp:
Sep 26, 2021, 6:18:40 PM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

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

    r695 r703  
    17771777        int err;
    17781778
    1779         if ((err = snd_m3_substream_open(chip, subs)) < 0)
     1779        err = snd_m3_substream_open(chip, subs);
     1780        if (err < 0)
    17801781                return err;
    17811782
     
    18011802        int err;
    18021803
    1803         if ((err = snd_m3_substream_open(chip, subs)) < 0)
     1804        err = snd_m3_substream_open(chip, subs);
     1805        if (err < 0)
    18041806                return err;
    18051807
     
    20482050        };
    20492051
    2050         if ((err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus)) < 0)
     2052        err = snd_ac97_bus(chip->card, 0, &ops, NULL, &pbus);
     2053        if (err < 0)
    20512054                return err;
    20522055       
    20532056        memset(&ac97, 0, sizeof(ac97));
    20542057        ac97.private_data = chip;
    2055         if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0)
     2058        err = snd_ac97_mixer(pbus, &ac97, &chip->ac97);
     2059        if (err < 0)
    20562060                return err;
    20572061
     
    26542658                goto free_chip;
    26552659
    2656         if ((err = snd_m3_mixer(chip)) < 0)
     2660        err = snd_m3_mixer(chip);
     2661        if (err < 0)
    26572662                return err;
    26582663
    26592664        for (i = 0; i < chip->num_substreams; i++) {
    26602665                struct m3_dma *s = &chip->substreams[i];
    2661                 if ((err = snd_m3_assp_client_init(chip, s, i)) < 0)
     2666                err = snd_m3_assp_client_init(chip, s, i);
     2667                if (err < 0)
    26622668                        return err;
    26632669        }
    26642670
    2665         if ((err = snd_m3_pcm(chip, 0)) < 0)
     2671        err = snd_m3_pcm(chip, 0);
     2672        if (err < 0)
    26662673                return err;
    26672674
Note: See TracChangeset for help on using the changeset viewer.