Ignore:
Timestamp:
Oct 30, 2008, 9:57:08 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to ALSA 1.0.18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.0/alsa-kernel/pci/cmipci.c

    r358 r399  
    23632363        struct cmipci_switch_args *args;
    23642364        args = (struct cmipci_switch_args *)kcontrol->private_value;
    2365         snd_assert(args != NULL, return -EINVAL);
     2365        if (snd_BUG_ON(!args))
     2366                return -EINVAL;
    23662367        return _snd_cmipci_uswitch_get(kcontrol, ucontrol, args);
    23672368}
     
    24072408        struct cmipci_switch_args *args;
    24082409        args = (struct cmipci_switch_args *)kcontrol->private_value;
    2409         snd_assert(args != NULL, return -EINVAL);
     2410        if (snd_BUG_ON(!args))
     2411                return -EINVAL;
    24102412        return _snd_cmipci_uswitch_put(kcontrol, ucontrol, args);
    24112413}
     
    26792681        int err;
    26802682
    2681         snd_assert(cm != NULL && cm->card != NULL, return -EINVAL);
     2683        if (snd_BUG_ON(!cm || !cm->card))
     2684                return -EINVAL;
    26822685
    26832686        card = cm->card;
Note: See TracChangeset for help on using the changeset viewer.