staticint cq93vc_set_dai_sysclk(struct snd_soc_dai *codec_dai, int clk_id, unsignedint freq, int dir)
{ switch (freq) { case 22579200: case 27000000: case 33868800: return 0;
}
return -EINVAL;
}
staticint cq93vc_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level)
{ switch (level) { case SND_SOC_BIAS_ON:
snd_soc_component_write(component, DAVINCI_VC_REG12,
DAVINCI_VC_REG12_POWER_ALL_ON); break; case SND_SOC_BIAS_PREPARE: break; case SND_SOC_BIAS_STANDBY:
snd_soc_component_write(component, DAVINCI_VC_REG12,
DAVINCI_VC_REG12_POWER_ALL_OFF); break; case SND_SOC_BIAS_OFF: /* force all power off */
snd_soc_component_write(component, DAVINCI_VC_REG12,
DAVINCI_VC_REG12_POWER_ALL_OFF); break;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.