All of lore.kernel.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] dmaengine: mxs-dma: add dma support for i.MX23/28
Date: Wed, 23 Feb 2011 10:05:47 +0000	[thread overview]
Message-ID: <20110223100547.GG29559@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1298440516.23371.258.camel@vkoul-udesk3>

On Wed, Feb 23, 2011 at 11:25:16AM +0530, Koul, Vinod wrote:
> Well in that case you are calling the callback from irq handler which is
> not so good. The tasklet is other extreme (slow).

tasklets are run on the exit path of interrupts.

> Given that this is
> also intended for audio I am not sure if calling period elapsed from
> tasklet callback will not cause any audio over/underruns, last I tried
> it used to break quite often in stressed situations.

Nevertheless, the DMA engine API specifies that callbacks shall be called
from tasklet context.

  reply	other threads:[~2011-02-23 10:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 10:21 [PATCH v3] dmaengine: mxs-dma: add dma support for i.MX23/28 Shawn Guo
2011-02-21 17:19 ` Wolfram Sang
2011-02-23  4:01 ` Koul, Vinod
2011-02-23  5:57   ` Shawn Guo
2011-02-23  5:55     ` Koul, Vinod
2011-02-23 10:05       ` Russell King - ARM Linux [this message]
2011-02-23 10:21         ` Russell King - ARM Linux
2011-02-23 11:06           ` Koul, Vinod
2011-02-23 12:12             ` Russell King - ARM Linux
2011-02-23  7:58     ` Lothar Waßmann

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=20110223100547.GG29559@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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 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.