public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@nokia.com>
To: "ext Menon, Nishanth" <nm@ti.com>
Cc: "Ujfalusi Peter (Nokia-D/Tampere)" <peter.ujfalusi@nokia.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"linux-omap@vger.kernel.org Mailing List"
	<linux-omap@vger.kernel.org>, twebb <taliaferro62@gmail.com>
Subject: Re: trouble with alsa, wolfson, and TI OMAP35xx McBSP
Date: Thu, 23 Apr 2009 09:08:44 +0300	[thread overview]
Message-ID: <20090423090844.50d05a65.jarkko.nikula@nokia.com> (raw)
In-Reply-To: <7A436F7769CA33409C6B44B358BFFF0C0106373FD4@dlee02.ent.ti.com>

On Wed, 22 Apr 2009 20:05:40 +0200
"ext Menon, Nishanth" <nm@ti.com> wrote:

> > Test tone is being presented by the user application, providing a
> > 1Khz tone sampled at 44.1Khz. The data are S16_LE, right channel
> > only. Left channel is quiet. The data seems to slip back and forth
> > from left to right channel. This is reproducable and verified with
> > a scope trace.
>
Is this slipping happening in middle of playback or between the tracks?

> I recollect this issue from years back of OSS driver -> i2s is
> configured as dual phase - mcbsp sends data on both edges, and if the
> data write happen on the wrong edge for the wrong phase, we might get
> mix up.. if I recollect right, configuration for mcbsp was done as a
> single phase with the right edge as a trigger for transfer, the
> transfer size was set as 32 bytes (both channels).. this essentially
> guarentees that mcbsp will never mix up channels.
> 
Thanks Menon! This is sounds a information we should try out. OMAP2420
in N810 is especially suffering from channel swapping between the
tracks and I haven't found time to look any deeper :-(

I know there is a fix for DaVinci (commit
fb0ef645f2c546f8297b2fbf9b2b8fff4a7455e8) but I would like to find
out are there any other or simpler way to fix it than mixing DMA and DAI
setup.


Jarkko

  reply	other threads:[~2009-04-23  6:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 17:58 trouble with alsa, wolfson, and TI OMAP35xx McBSP twebb
2009-04-22 18:05 ` Menon, Nishanth
2009-04-23  6:08   ` Jarkko Nikula [this message]
2009-04-22 18:55 ` [alsa-devel] " Mark Brown
2009-04-23  9:20 ` Peter Ujfalusi
2009-04-23 16:50   ` Alejandro Blanca G.
2009-04-23 18:30     ` Mark Brown
2009-04-23 18:16   ` Juha Kuikka

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=20090423090844.50d05a65.jarkko.nikula@nokia.com \
    --to=jarkko.nikula@nokia.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=peter.ujfalusi@nokia.com \
    --cc=taliaferro62@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox