Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       snd_ctl_find_id - find the control instance with the given id

SYNOPSIS

       snd_kcontrol_t * snd_ctl_find_id  (snd_card_t * card,
                                            snd_ctl_elem_id_t * id);

ARGUMENTS

       card   the card instance

       id     the id to search

DESCRIPTION

       Finds the control instance with the given id from the card.

       Returns the pointer of the instance if found, or NULL if not.

       The caller must down card->controls_rwsem before calling this  function
       (if the race condition can happen).