[alsa-devel] How to handle parameter variation across different boards but same platform

Hebbar, Gururaja gururaja.hebbar at ti.com
Wed Jul 4 14:45:03 CEST 2012


Currently on Davinci platform, codec system clock & snd_soc_card parameter is decided
using machine_is_xxxx() api.

	sound/soc/Davinci/davinci-evm.c, inside evm_hw_params() & evm_init(),

We have an upcoming board based on TI AM335x soc which has both codec system clock 
And the codec name (because of i2c bus difference) different from previous am335x 
based boards. 

Using machine_is_xxx() is not sufficient because there are 2 other boards on same 
Platform/machine but with different values.

So, how to specify these parameters for the new board?


More information about the Alsa-devel mailing list