All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Nikula <jhnikula@gmail.com>
To: "Shilimkar, Santosh" <santosh.shilimkar@ti.com>
Cc: hari n <hari.zoom@gmail.com>,
	"Pandita, Vikram" <vikram.pandita@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [OMAP3] ALSA driver 'suspend/resume' handlers
Date: Wed, 30 Sep 2009 08:40:23 +0300	[thread overview]
Message-ID: <20090930084023.825cba91.jhnikula@gmail.com> (raw)
In-Reply-To: <EAF47CD23C76F840A9E7FCE10091EFAB02BADAC2D9@dbde02.ent.ti.com>

On Tue, 29 Sep 2009 21:28:45 +0530
"Shilimkar, Santosh" <santosh.shilimkar@ti.com> wrote:

> > Having said that, there is also bug in the DMA driver which doesn't
> > disable the channel in linking cases. Since we use always hardware
> > synchronized method, hardware will take care of draining the buffer so no
> > loss of data.
> > 
> > So option B should be ok and USB case also would work as mentioned above.
> 
> Which option finally we converged on this issue? Shall we fix in the DMA driver or you want to do this in ALSA?
> 
For me it looks that at least the omap_stop_dma should be fixed to stop
ongoing transfer always when it's called. As the name suggest :-)

Then for offmode, if there is no clear method to save & restore
low-level McBSP & DMA context in their drivers, I don't see problem if
e.g. resume handler in sound/soc/omap/omap-mcbsp.c would call
the omap_mcbsp_config etc.


-- 
Jarkko

  reply	other threads:[~2009-09-30  5:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23  2:38 [OMAP3] ALSA driver 'suspend/resume' handlers hari n
2009-09-23  3:20 ` Pandita, Vikram
2009-09-23  5:02   ` hari n
2009-09-24  6:46     ` Jarkko Nikula
2009-09-24  7:24       ` Shilimkar, Santosh
2009-09-24 12:58         ` Pandita, Vikram
2009-10-07 21:42           ` Tony Lindgren
2009-09-29 15:58       ` Shilimkar, Santosh
2009-09-30  5:40         ` Jarkko Nikula [this message]
2009-09-30  6:08           ` Shilimkar, Santosh
  -- strict thread matches above, loose matches on Subject: below --
2009-10-02 22:26 Shilimkar, Santosh

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=20090930084023.825cba91.jhnikula@gmail.com \
    --to=jhnikula@gmail.com \
    --cc=hari.zoom@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=santosh.shilimkar@ti.com \
    --cc=vikram.pandita@ti.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.