Changeset 703 for GPL/trunk/alsa-kernel/pci/maestro3.c
- Timestamp:
- Sep 26, 2021, 6:18:40 PM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-next merged: 696-702
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/pci/maestro3.c
r695 r703 1777 1777 int err; 1778 1778 1779 if ((err = snd_m3_substream_open(chip, subs)) < 0) 1779 err = snd_m3_substream_open(chip, subs); 1780 if (err < 0) 1780 1781 return err; 1781 1782 … … 1801 1802 int err; 1802 1803 1803 if ((err = snd_m3_substream_open(chip, subs)) < 0) 1804 err = snd_m3_substream_open(chip, subs); 1805 if (err < 0) 1804 1806 return err; 1805 1807 … … 2048 2050 }; 2049 2051 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) 2051 2054 return err; 2052 2055 2053 2056 memset(&ac97, 0, sizeof(ac97)); 2054 2057 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) 2056 2060 return err; 2057 2061 … … 2654 2658 goto free_chip; 2655 2659 2656 if ((err = snd_m3_mixer(chip)) < 0) 2660 err = snd_m3_mixer(chip); 2661 if (err < 0) 2657 2662 return err; 2658 2663 2659 2664 for (i = 0; i < chip->num_substreams; i++) { 2660 2665 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) 2662 2668 return err; 2663 2669 } 2664 2670 2665 if ((err = snd_m3_pcm(chip, 0)) < 0) 2671 err = snd_m3_pcm(chip, 0); 2672 if (err < 0) 2666 2673 return err; 2667 2674
Note:
See TracChangeset
for help on using the changeset viewer.