alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier.adi@gmail.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: spi codec names in machine drivers
Date: Wed, 30 Mar 2011 17:58:29 -0400	[thread overview]
Message-ID: <AANLkTimiKSZDF9jUntoEn1JLHk0a6N+M_U9JvOLcox_a@mail.gmail.com> (raw)
In-Reply-To: <20110330212016.GC20496@opensource.wolfsonmicro.com>

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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2011-03-30 21:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29  6:05 spi codec names in machine drivers Mike Frysinger
2011-03-30 21:20 ` Mark Brown
2011-03-30 21:58   ` Mike Frysinger [this message]
2011-03-31  0:11     ` Mark Brown
2011-03-31  0:15       ` Mike Frysinger
2011-03-31  0:30         ` Mark Brown
2011-03-31  0:32           ` Mike Frysinger
2011-04-07  6:07             ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimiKSZDF9jUntoEn1JLHk0a6N+M_U9JvOLcox_a@mail.gmail.com \
    --to=vapier.adi@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lrg@slimlogic.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).