我在linux中添加tlv320aic32x4音频驱动时,驱动失败,并在系统启动日志中提示电阻匹配,
日志中提示如下信息:
[4.818187] tlv320aic32x4 2-0018: ASoC: no source widget found for CM_R [4.818191] tlv320aic32x4 2-0018: ASoC: Failed to add route CM_R -> 20 kOhm -> CM_R to Right Mixer Negative Resistor [4.818218] tlv320aic32x4 2-0018: ASoC: no source widget found for CM_R [4.818221] tlv320aic32x4 2-0018: ASoC: Failed to add route CM_R -> 40 kOhm -> CM_R to Right Mixer Negative Resistor [4.824472] tlv320aic32x4 2-0018: ASoC: no source widget found for CM_L [4.824476] tlv320aic32x4 2-0018: ASoC: Failed to add route CM_L -> 10 kOhm -> CM_L to Left Mixer Negative Resistor [4.824499] tlv320aic32x4 2-0018: ASoC: no source widget found for CM_L [4.824502] tlv320aic32x4 2-0018: ASoC: Failed to add route CM_L -> 20 kOhm -> CM_L to Left Mixer Negative Resistor [4.824524] tlv320aic32x4 2-0018: ASoC: no source widget found for CM_L [4.824527] tlv320aic32x4 2-0018: ASoC: Failed to add route CM_L -> 40 kOhm -> CM_L to Left Mixer Negative Resistor
请问在驱动中如何设置电阻匹配?
user151383853:
这个问题提示比较明确,我没有找到音频驱动的软件手册,你可以仔细查阅一下
Kailyn Chen:
您好,我们有提供TLV320AIC3x04 的Linux driver:www.ti.com/…/TLV320AIC32X4SW-LINUX
您是参考的这个驱动程序报错的吗?
user6162865:
回复 Kailyn Chen:
您好,是的,我是用的这个驱动。不知道该怎么设置电阻匹配
user6162865:
对tlv320aic32x4.ctlv320aic32x4-i2c.c tlv320aic32x4.h 做了大修改,问题解决了,可以实现同时录音和播放