Ignore:
Timestamp:
Jul 24, 2021, 3:42:01 PM (4 years ago)
Author:
David Azarewicz
Message:

Merge in changes from uniaud32next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/drivers/aloop.c

    r679 r689  
    15731573                                kctl->id.device = dev;
    15741574                                kctl->id.subdevice = substr;
     1575
     1576                                /* Add the control before copying the id so that
     1577                                 * the numid field of the id is set in the copy.
     1578                                 */
     1579                                err = snd_ctl_add(card, kctl);
     1580                                if (err < 0)
     1581                                        return err;
     1582
    15751583                                switch (idx) {
    15761584                                case ACTIVE_IDX:
     
    15891597                                        break;
    15901598                                }
    1591                                 err = snd_ctl_add(card, kctl);
    1592                                 if (err < 0)
    1593                                         return err;
    15941599                        }
    15951600                }
Note: See TracChangeset for help on using the changeset viewer.