*参照元 [#j69cf600]
#backlinks

*説明 [#u9309e40]
-パス: [[linux-2.6.33/sound/soc/soc-core.c]]

-FIXME: これは何?
--説明


**引数 [#ucbe4da1]
-struct snd_soc_card *card
--
--[[linux-2.6.33/snd_soc_card]]


**返り値 [#cfa30d21]
-int
--


**参考 [#rc1d4c28]


*実装 [#w97ef8e9]
 /**
  * snd_soc_register_card - Register a card with the ASoC core
  *
  * @card: Card to register
  *
  * Note that currently this is an internal only function: it will be
  * exposed to machine drivers after further backporting of ASoC v2
  * registration APIs.
  */
 static int snd_soc_register_card(struct snd_soc_card *card)
 {
 	if (!card->name || !card->dev)
 		return -EINVAL;
 
 	INIT_LIST_HEAD(&card->list);
 	card->instantiated = 0;
 
-
--[[linux-2.6.33/INIT_LIST_HEAD()]]

 	mutex_lock(&client_mutex);
 	list_add(&card->list, &card_list);
 	snd_soc_instantiate_cards();
 	mutex_unlock(&client_mutex);
 
-
--[[linux-2.6.33/mutex_lock()]]
-
--[[linux-2.6.33/list_add()]]
-
--[[linux-2.6.33/snd_soc_instantiate_cards()]]
-
--[[linux-2.6.33/mutex_unlock()]]
-
--[[linux-2.6.33/client_mutex(global)]]
-
--[[linux-2.6.33/card_list(global)]]

 	dev_dbg(card->dev, "Registered card '%s'\n", card->name);
 
-
--[[linux-2.6.33/dev_dbg()]]

 	return 0;
 }


*コメント [#j5c35be9]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS