devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Tushar Behera <tushar.behera@linaro.org>
Cc: alsa-devel@alsa-project.org,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
	linux-doc@vger.kernel.org,
	devicetree <devicetree@vger.kernel.org>,
	rdunlap@infradead.org, "robh+dt@kernel.org" <robh+dt@kernel.org>
Subject: Re: [PATCH] ASoC: SAMSUNG: Add sound card driver for Snow board
Date: Tue, 22 Apr 2014 19:33:10 +0100	[thread overview]
Message-ID: <20140422183310.GD12304@sirena.org.uk> (raw)
In-Reply-To: <CAHbNUh3G5HLaGXddPgjthWTu_VQ95xo=2Lii2BM6iSc-ipnm=w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

On Tue, Apr 22, 2014 at 07:17:54PM +0530, Tushar Behera wrote:
> On 22 April 2014 16:14, Mark Brown <broonie@kernel.org> wrote:

> > In general this isn't up to modern standards, please do try to check
> > that new code is following best practices.  Did the support for setting
> > the clocking up in the device tree get merged already?

> I didn't get this point. Would you please elaborate?

The out of tree driver for these boards has a bunch of code in it which
reprograms the clock tree that parents the I2S block so that the I2S
block has inputs at suitable rates to allow it to generate useful
outputs.

> > Please do also pay attention to the CC lists when posting patches, this
> > seems to have been sent to a fairly random selection of people and
> > lists.

> Okay, I will update the CC list as per get_maintainer script during
> next revision.

Please think about the results when doing that - get_maintainers is very
useful but it does generate false positives and miss people.

> >> +     ret = snd_soc_dai_set_clkdiv(cpu_dai, SAMSUNG_I2S_DIV_BCLK, bfs);
> >> +     if (ret < 0)
> >> +             return ret;

> > Set this stuff up on probe.  I'm surprised that you need to set BCLK at
> > all...
> >

> Should I create a late_probe call for this (in line with tobermory.c)?

Yes.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2014-04-22 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22  8:03 [PATCH] ASoC: SAMSUNG: Add sound card driver for Snow board Tushar Behera
2014-04-22 10:44 ` Mark Brown
2014-04-22 13:47   ` Tushar Behera
2014-04-22 18:33     ` Mark Brown [this message]
2014-04-23  2:53       ` Tushar Behera

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=20140422183310.GD12304@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=tushar.behera@linaro.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).