All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolin Chen <nicoleotsuka@gmail.com>
To: Jonathan Bennett <jbscience87@gmail.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@kernel.org>,
	Aaron Kling <webgeek1234@gmail.com>,
	Igor Grinberg <grinberg@compulab.co.il>,
	Valentin Raevsky <valentin@compulab.co.il>,
	Fabio Estevam <festevam@gmail.com>
Subject: Re: Request for comments for SND_SOC_IMX_WM8731
Date: Sun, 26 Oct 2014 00:40:17 -0700	[thread overview]
Message-ID: <20141026074017.GA6268@Asurada> (raw)
In-Reply-To: <CAOMZO5AXhj-r4v-sR6Rp_ywD85M07W06r551vMq0r6juE+Tmgg@mail.gmail.com>

Hi Jonathan,

On Fri, Oct 24, 2014 at 10:20:29AM -0200, Fabio Estevam wrote:
> On Fri, Oct 24, 2014 at 2:42 AM, Jonathan Bennett <jbscience87@gmail.com> wrote:
> > This patch is a continuation of my work on supporting the Utilite devices on
> > the vanilla kernel. I've modified the code slightly to conform to
> > established practice. Namely instead of using src-port and ext-port, we use
> > mux-int-port and mux-ext-port.
> >
> > This driver has support for putting the codec in either master mode or slave
> > mode. So far I've only had success with using slave mode. For trying to
> > submit for kernel inclusion, should I strip out the code for codec master

Just took a look at your driver. And I have a suggestion on the top
of Fabio's comments.

I think you should try fsl-asoc-card driver instead of adding this
one. Your driver doesn't seemly have some specific requirement and
it actually contains a few out-of-date code like SSI clock divider
settings. SSI driver now has the capability to calculate divisors
automatically based on the required sample rate, even if it may not
be perfect to apply all the sample rates. But I don't think the
machine driver shall take care this job any more.

So I suggest you first to try the fsl-asoc-card with a specific
change for wm8731 to make it work -- I think you only need to
configure some parameters in its probe() as I did for the other
CODECs. If it doesn't work out, you can raise the problem. I'll
also help on it.

Thanks,
Nicolin

      parent reply	other threads:[~2014-10-26  7:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24  4:42 Request for comments for SND_SOC_IMX_WM8731 Jonathan Bennett
2014-10-24 12:20 ` Fabio Estevam
2014-10-24 14:04   ` Mark Brown
2014-10-24 14:10     ` Fabio Estevam
2014-10-24 14:48       ` Jonathan Bennett
2014-10-24 14:56         ` Fabio Estevam
2014-10-24 15:09           ` Fabio Estevam
2014-10-24 16:19         ` Mark Brown
2014-10-24 16:33           ` Jonathan Bennett
2014-10-24 16:36             ` Mark Brown
2014-10-26  7:40   ` Nicolin Chen [this message]

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=20141026074017.GA6268@Asurada \
    --to=nicoleotsuka@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=festevam@gmail.com \
    --cc=grinberg@compulab.co.il \
    --cc=jbscience87@gmail.com \
    --cc=valentin@compulab.co.il \
    --cc=webgeek1234@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.