From: Nicolin Chen <Guangyu.Chen@freescale.com>
To: Mark Brown <broonie@kernel.org>
Cc: tiwai@suse.de, alsa-devel@alsa-project.org, lgirdwood@gmail.com
Subject: Re: [PATCH] ASoC: fsl: imx-wm8962: Grant hw_params() permission to reprogram FLL
Date: Fri, 10 Jan 2014 18:19:08 +0800 [thread overview]
Message-ID: <20140110101907.GA17106@MrMyself> (raw)
In-Reply-To: <20140109182551.GO12858@sirena.org.uk>
On Thu, Jan 09, 2014 at 06:25:51PM +0000, Mark Brown wrote:
> > + mask = WM8962_MIXINL_TO_HPMIXL_MASK | WM8962_MIXINR_TO_HPMIXL_MASK |
> > + WM8962_IN4L_TO_HPMIXL_MASK | WM8962_IN4R_TO_HPMIXL_MASK;
> > + ret |= snd_soc_read(codec, WM8962_HEADPHONE_MIXER_1) & mask;
> > + ret |= snd_soc_read(codec, WM8962_HEADPHONE_MIXER_2) & mask;
> > + ret |= snd_soc_read(codec, WM8962_SPEAKER_MIXER_1) & mask;
> > + ret |= snd_soc_read(codec, WM8962_SPEAKER_MIXER_2) & mask;
>
> Peering inside the CODEC register map isn't great and given that we
Hmm..It looks like it'd be safer to give up the bypass checking here.
> implement bias level changes for non-CPU paths immediately I'm not sure
> what that's giving you over just using the bias level (which is the way
> you're supposed to check if the CODEC is active)?
Aha, I also feel myself a bit obsessed to this modification while knowing
so well that you're not very into it. But it might be just because, at
least to me and according to our SRS of Linux BSP, the flexibility and
capability here is more important than the extra function - bypass paths.
(No offense taken, just my own feeling from the angle of a common user.)
I'll still try to refine this patch to a new version. And meanwhile, I
will listen your reply to this mail and see if I should send it or not.
Thank you,
Nicolin Chen
next prev parent reply other threads:[~2014-01-10 10:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-25 10:37 [PATCH] ASoC: fsl: imx-wm8962: Grant hw_params() permission to reprogram FLL Nicolin Chen
2014-01-07 5:57 ` Nicole Otsuka
2014-01-07 14:24 ` Mark Brown
2014-01-08 8:30 ` Nicolin Chen
2014-01-09 18:25 ` Mark Brown
2014-01-10 10:19 ` Nicolin Chen [this message]
2014-01-10 11:42 ` Mark Brown
2014-01-10 13:15 ` Nicolin Chen
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=20140110101907.GA17106@MrMyself \
--to=guangyu.chen@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=tiwai@suse.de \
/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.