TLV320ADC3140代码编译错误、Linux 版本4.14。 代码是否与 Linux 和 ALSA 不兼容?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
TLV320ADC3140代码编译错误、Linux 版本4.14。 代码是否与 Linux 和 ALSA 不兼容?
Jeremy、
TLV320ADCx140 Linux 驱动程序是在 Linux v5.0下开发的。 有关 驱动程序支持的 Linux 版本、请参阅此常见问题解答。 ALSA 例程在 v.4.17中发生了更改,因此该特定驱动程序不支持 v4.15之前的 Linux 内核。
附件是一个将当前驱动程序移植回支持 v4.14 Linux 内核的示例。 您可以将其用作对电流驱动器进行反向移植的参考。
e2e.ti.com/.../tlv320adcx140.c
e2e.ti.com/.../tlv320adcx140.h
此致、
佩德罗
尊敬的 Pedro:
感谢您的帮助!
我在文件 tlv320adcx140.yaml 中找不到"ti,tx-fill"和"ti,ch-order"。 我如何处理它?
"device_property_read_bool (adcx140->dev、"ti、tx-fill")
device_property_read_u32_array (adcx140->dev、"ti、ch-order"、NULL、0)"