All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Dimitris Papavasiliou <dpapavas@gmail.com>
Cc: alsa-devel@alsa-project.org,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: Re: Need help fixing pop/click artifacts in an ASOC driver
Date: Fri, 21 Dec 2018 17:33:45 +0000	[thread overview]
Message-ID: <20181221173345.GF4996@sirena.org.uk> (raw)
In-Reply-To: <5f783336-1786-862c-b238-2309381bfd94@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1141 bytes --]

On Fri, Dec 21, 2018 at 03:05:51PM +0200, Dimitris Papavasiliou wrote:

> without pushing the changes upstream.  You can see the patch in
> question here:

> https://github.com/raspberrypi/linux/commit/c53a137bd151130e29d7fc43947ac3e579a29ce4#diff-723fa079c49ec85d48e290fe84994b36

That's a change half implementing TDM modes with the goal of allowing a
bodge to force 32 bit frame sizes where that's required to get clocks to
divide out neatly.

> I can apply the patch via merge, so bothering with this is not at all
> necessary, but if this change is useful, perhaps it's worth submitting
> another patch for it.  I doubt this though, as it looks a bit hackish
> to me.

It's useful (that's a genuine issue) but it shouldn't be bodged by TDM
mode but should instead just be done as standard without the machine
driver needing to do TDM - check if the clock rate required is actually
generated then fall back to a less exact frame if that helps.  That way
everyone gets the benefit without needing custom configuration or code.
Basically it's doing the right thing in terms of configuring the
hardware but should be triggered differently.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2018-12-21 17:33 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06 16:37 Need help fixing pop/click artifacts in an ASOC driver Dimitris Papavasiliou
2018-11-08  1:42 ` Pierre-Louis Bossart
2018-11-08 15:18   ` Takashi Iwai
2018-11-10 15:46   ` Dimitris Papavasiliou
2018-11-14 22:06     ` Mark Brown
2018-11-14 22:50       ` Dimitris Papavasiliou
2018-11-14 23:02         ` Mark Brown
2018-11-14 23:55           ` Dimitris Papavasiliou
2018-11-15  0:33             ` Mark Brown
2018-11-15 11:25               ` Dimitris Papavasiliou
2018-11-15 19:04                 ` Mark Brown
2018-11-18 13:37                   ` Dimitris Papavasiliou
2018-11-24 20:17                     ` Dimitris Papavasiliou
2018-12-13 17:42                       ` Mark Brown
2018-12-17 12:17                         ` Dimitris Papavasiliou
2018-12-17 12:37                           ` Mark Brown
2018-12-17 12:58                             ` Dimitris Papavasiliou
2018-12-17 14:10                               ` Mark Brown
2018-12-17 15:03                                 ` Dimitris Papavasiliou
2018-12-17 15:40                                   ` Mark Brown
2018-12-17 16:23                                     ` Dimitris Papavasiliou
2018-12-17 16:52                                       ` Mark Brown
2018-12-18 10:39                                         ` Dimitris Papavasiliou
2018-12-19 16:19                                           ` Mark Brown
2018-12-19 21:44                                             ` Dimitris Papavasiliou
2018-12-20 15:36                                               ` Mark Brown
2018-12-20 20:41                                                 ` Dimitris Papavasiliou
2018-12-21 10:57                                                   ` Mark Brown
2018-12-21 13:05                                                     ` Dimitris Papavasiliou
2018-12-21 17:33                                                       ` Mark Brown [this message]
2018-12-23 20:11                                                         ` Dimitris Papavasiliou
2018-12-22 14:44                                                       ` Matthias Reichl
2018-12-23 20:15                                                         ` Dimitris Papavasiliou
2018-12-17 15:03                           ` Pierre-Louis Bossart
2018-12-17 17:39                             ` Mark Brown
2018-12-17 18:08                               ` Pierre-Louis Bossart
2018-12-17 19:02                                 ` Mark Brown
2018-12-17 19:14                                   ` Pierre-Louis Bossart
2019-01-05 19:01                                     ` Pierre-Louis Bossart
2018-12-18 11:32                                 ` Dimitris Papavasiliou
2018-12-18 14:12                                   ` Pierre-Louis Bossart
2018-12-18 17:10                                     ` Dimitris Papavasiliou

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=20181221173345.GF4996@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=dpapavas@gmail.com \
    --cc=pierre-louis.bossart@linux.intel.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.