All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Clive Messer <clive.messer@digitaldreamtime.co.uk>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] ALSA: Add rate defines for 352k8 and 384k
Date: Mon, 06 Jun 2016 23:58:18 +0200	[thread overview]
Message-ID: <s5hlh2ic745.wl-tiwai@suse.de> (raw)
In-Reply-To: <1465248140.11487.65.camel@digitaldreamtime.co.uk>

On Mon, 06 Jun 2016 23:22:20 +0200,
Clive Messer wrote:
> 
> On Mon, 2016-06-06 at 22:29 +0200, Takashi Iwai wrote:
> 
> Takashi,
> 
> > I'm asking about "the current tree".  In other words, after applying
> > your patch, how many codes in my current tree can be reduced?
> 
> Well, in the current tree, the pcm5102a codec isn't enabled for 384k.
> You want me to submit a patch for doing that, using constraints and
> then re-submit my patch to add the sample rate defines and then a 3rd
> patch, removing the constraint code from the pcm5102a codec, now it
> would result in a one line change with the sample rate defines?

That would be better than nothing, really.  You submitted only a patch
changing the core part without showing the end result.  It's
unacceptable.  At least, you should have submitted with the change of
pcm5102a driver using the new definition.

> > So, please prove the cleanup results as patches, and send together
> > with your patch as a complete patchset.  Then it'll become more
> > convincing.
> 
> There must be something I am missing. I don't understand what this has
> to do with "cleanup"? I never proposed anything other than adding a
> couple of defines, for what are now becoming more common high-res
> sample rates.

Well, I assumed that your patch was intended to reduce the redundant
code we already have.  If it's only for your new code, then it's even
less convincing...

> There has been resistance to adding these defines in the past. I didn't
> understand why then, and I don't understand why now. What is it you
> need convincing of? That DXD (352k8/24) is a standard resolution? That
> 192k used to be the max fs of most DAC chips.... Time marches on....
> Now many are max fs 384k? 
> 
> The last time, 20160127, someone from Cirrus tried submitting a patch
> to add a 384k define, the thread ended with you inviting them to re-
> submit it. AFAIK, it never was re-submitted. 
> 
> http://mailman.alsa-project.org/pipermail/alsa-devel/2016-January/103506.html
> 
> And again, I don't understand why you are talking about "cleanup". I am
> not proposing to cleanup any code, only add a couple of defines to a
> header, which would result in one line changes, at the point someone
> wanted to add 352k8/384k support to an existing codec driver, rather
> than adding multiple lines of methods/code to add 352k8/384k support
> via KNOT/constraints. The point I was trying to show, with the pcm5102a
> example.

The rule is simple: if you change a core code, it must be the benefit
allover the tree.  That is, if your patch helps other multiple
drivers, it's fine, let's take it.  If your patch is only for your
own, it needs more evaluation and it's often no-go.
How is your case?  Show it by the result of patches.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2016-06-06 21:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06 12:19 [PATCH] ALSA: Add rate defines for 352k8 and 384k DigitalDreamtime
2016-06-06 12:59 ` Takashi Iwai
2016-06-06 17:07   ` Clive Messer
2016-06-06 20:29     ` Takashi Iwai
2016-06-06 21:22       ` Clive Messer
2016-06-06 21:58         ` Takashi Iwai [this message]
2016-06-06 23:00           ` Clive Messer
2016-06-07  9:27             ` Takashi Iwai
2016-06-06 17:16   ` Clive Messer
  -- strict thread matches above, loose matches on Subject: below --
2016-06-05 14:35 DigitalDreamtime
2016-06-05 15:24 ` Clive Messer
2016-06-07 12:26 ` 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=s5hlh2ic745.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=clive.messer@digitaldreamtime.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 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.