[alsa-devel] spi codec names in machine drivers

Mike Frysinger vapier.adi at gmail.com
Tue Mar 29 08:05:04 CEST 2011


after the recent multi-component patch, spi codec names were changed
to "<name>.<spics>" in the machine drivers.  so if we have an ad193x
codec on spi bus 0 cs 5, the name is now "ad193x.5".

this also seems to be how fmt_single_name in soc-core.c is doing
things.  am i reading this right ?

what if i have two codecs on two different spi busses but happen to
have the same cs ?  shouldnt the spi code do the same as i2c and
include the bus in the id naming ?
-mike


More information about the Alsa-devel mailing list