参照元

説明

引数

返り値

参考

実装

/**
 * snd_soc_add_dai_controls - add an array of controls to a DAI.
 * Convienience function to add a list of controls.
 *
 * @dai: DAI to add controls to
 * @controls: array of controls to add
 * @num_controls: number of elements in the array
 *
 * Return 0 for success, else error.
 */
int snd_soc_add_dai_controls(struct snd_soc_dai *dai,
        const struct snd_kcontrol_new *controls, int num_controls)
{
        struct snd_card *card = dai->component->card->snd_card;
        return snd_soc_add_controls(card, dai->dev, controls, num_controls,
                        NULL, dai);
}
EXPORT_SYMBOL_GPL(snd_soc_add_dai_controls);

コメント


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-06-02 (木) 15:20:37