[alsa-devel] spi codec names in machine drivers
Mike Frysinger
vapier.adi at gmail.com
Wed Mar 30 23:58:29 CEST 2011
On Wed, Mar 30, 2011 at 17:20, Mark Brown wrote:
> On Tue, Mar 29, 2011 at 02:05:04AM -0400, Mike Frysinger wrote:
>> 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 ?
>
> I think we should just switch to using dev_name() everywhere.
so you'd want the machine driver to use "spi0.5" ? or "ad193x-spi0.5" ?
-mike
More information about the Alsa-devel
mailing list