Welcome to the Linux Foundation Forum!

How to find the ASoC machine driver currently being used?

Options
vysero
vysero Posts: 3
edited September 2018 in Multimedia

I am attempting to update an audio CODEC and amplifier on an older embedded Linux platform ( kernel-2.6.35.14); however, I am relatively new to Linux (4 months or so of experience) and am struggling to figure out what needs to be done.

I found the documentation in my kernel which was super helpful but somewhat lacking. The audio CODEC driver for the new CODEC exists in the kernel and I know what the old CODEC is. How should I go about finding the current machine driver that the old CODEC is using?

I have tried a few things such as: grep -lr "struct snd_soc_card {" * which yields only one file (soc.h) which I don't believe is what I am looking for. I have also tried grep -lr "struct snd_soc_card" * which yields a litany of files located in sound/soc/

However, I believe I can narrow the results of that search down too:

sound/soc/imx/imx-ccwmx51-wm8753.c
sound/soc/s3c24xx/neo1973_wm8753.c
sound/soc/s3c24xx/cc9m2443js_wm8753.c

because the old codec is the wm8753. So, are these the drones I am looking for?

Categories

Upcoming Training