All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, info@crazy-audio.com,
	lgirdwood@gmail.com, patches@opensource.wolfsonmicro.com
Subject: Re: [PATCH 2/2] ASoC: wm8804: Add DAPM widgets for SPDIF/AIF
Date: Mon, 2 Mar 2015 21:35:16 +0000	[thread overview]
Message-ID: <20150302213516.GA8553@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20150302181613.GB21293@sirena.org.uk>

On Mon, Mar 02, 2015 at 06:16:13PM +0000, Mark Brown wrote:
> On Mon, Mar 02, 2015 at 05:57:55PM +0000, Charles Keepax wrote:
> 
> > Firstly, 'Input Source' changes names to 'Tx Source' this is a
> > lot clearer, but perhaps we shouldn't change this, as it doesn't
> > have to change?
> 
> Yes, leave it be.  If you were renaming this should be in the changelog
> with an explanation as to why.

Cool can do.

> 
> > Secondly, the patch removes the controls 'TX Playback Switch' and
> > 'AIF Playback Switch' as these bits are controlled by DAPM now. I
> > wasn't sure if it would be preferrable to leave dummy controls that
> > do nothing?
> 
> This sounds like you need a more detailed changelog entry explaining why
> it's a good idea to do this in the first place, never mind the proxy
> control - what is the purpose of this change and what benefit will it
> bring?  Given that this is a S/PDIF bridge it's not at all obvious that
> the chip will be used in applications where the sort of power savings
> you're likely to see from powering down one of the links (as opposed to
> cutting the power to the chip) are likely to register.  Why move those
> bits to DAPM control at all?

Hmm... I hadn't really thought about it like that, mostly I had
viewed this somewhat as a nice modernization of the driver. I am
pretty sure there are some benefits around the clocking from
disabling the RX path (which is never disabled currently) as this
exercises some automatic control over the PLL whilst active,
which can be difficult to handle. But I guess that could also
just be handled by adding a control to disable it. Let us try
redrafting the commit message and we can see where that takes us
I guess.

> 
> I also note that this patch is apparently written by but not CCed to
> Sapthagiri Baratam.

He is on the patches alias, but yes that was rather remiss of me
not to directly CC him.

Thanks,
Charles

  reply	other threads:[~2015-03-02 21:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02 17:57 [PATCH 1/2] ASoC: wm8804: Fix small issues in probe error path Charles Keepax
2015-03-02 17:57 ` [PATCH 2/2] ASoC: wm8804: Add DAPM widgets for SPDIF/AIF Charles Keepax
2015-03-02 18:16   ` Mark Brown
2015-03-02 21:35     ` Charles Keepax [this message]
2015-03-02 18:03 ` [PATCH 1/2] ASoC: wm8804: Fix small issues in probe error path Mark Brown
2015-03-02 18:15   ` Charles Keepax

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=20150302213516.GA8553@opensource.wolfsonmicro.com \
    --to=ckeepax@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=info@crazy-audio.com \
    --cc=lgirdwood@gmail.com \
    --cc=patches@opensource.wolfsonmicro.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.