*参照元 [#pb9fe31d] #backlinks *説明 [#l9c93c23] -パス: [[linux-4.4.1/sound/soc/soc-io.c]] -FIXME: これは何? --説明 **引数 [#rb7eda26] -struct snd_soc_codec *codec -- --[[linux-4.4.1/snd_soc_codec]] -unsigned int reg -- **返り値 [#q998767a] -int -- **参考 [#m5e30fa6] *実装 [#r25acacb] unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg) { unsigned int val; int ret; ret = snd_soc_component_read(&codec->component, reg, &val); if (ret < 0) return -1; - --[[linux-4.4.1/snd_soc_component_read()]] return val; } EXPORT_SYMBOL_GPL(snd_soc_read); -GPL のモジュールのみにシンボルを公開する。 --[[linux-4.4.1/EXPORT_SYMBOL_GPL()]] *コメント [#of19129c]