*参照元 [#r70de57f] #backlinks *説明 [#ufdf5d05] -パス: [[linux-4.4.1/sound/soc/soc-dapm.c]] -FIXME: これは何? --説明 **引数 [#v68d6508] -struct snd_soc_dapm_context *dapm -- --[[linux-4.4.1/snd_soc_dapm_context]] -const char *pin -- **返り値 [#ya8df1c8] - -int -- **参考 [#aed5d6fe] *実装 [#uff1af33] /** * snd_soc_dapm_disable_pin - disable pin. * @dapm: DAPM context * @pin: pin name * * Disables input/output pin and its parents or children widgets. * * NOTE: snd_soc_dapm_sync() needs to be called after this for DAPM to * do any widget power switching. */ int snd_soc_dapm_disable_pin(struct snd_soc_dapm_context *dapm, const char *pin) { int ret; mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_RUNTIME); - --[[linux-4.4.1/mutex_lock_nexted()]] ret = snd_soc_dapm_set_pin(dapm, pin, 0); - --[[linux-4.4.1/snd_soc_dapm_set_pin()]] mutex_unlock(&dapm->card->dapm_mutex); - --[[linux-4.4.1/mutex_unlock()]] return ret; } EXPORT_SYMBOL_GPL(snd_soc_dapm_disable_pin); - --[[linux-4.4.1/EXPORT_SYMBOL_GPL()]] *コメント [#xc54f145]