linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mpc52xx_lpbfifo: flag DMA irqs as enabled after requesting them
@ 2010-03-12  5:58 Roman Fietze
  2010-03-27  1:49 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Fietze @ 2010-03-12  5:58 UTC (permalink / raw)
  To: linuxppc-dev

Hello,

This patch avoids unbalanced enable/disable messages for the DMA
interrupts when running the 5200 platform SCLPC/BestComm driver in DMA
mode.


Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>
=2D--
 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/p=
latforms/52xx/mpc52xx_lpbfifo.c
index 929d017..d4f8be3 100644
=2D-- a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
@@ -481,6 +481,8 @@ mpc52xx_lpbfifo_probe(struct of_device *op, const struc=
t of_device_id *match)
 	if (rc)
 		goto err_bcom_rx_irq;
=20
+	lpbfifo.dma_irqs_enabled =3D 1;
+
 	/* Request the Bestcomm transmit (memory --> fifo) task and IRQ */
 	lpbfifo.bcom_tx_task =3D
 		bcom_gen_bd_tx_init(2, res.start + LPBFIFO_REG_FIFO_DATA,
=2D-=20
1.7.0.1


Roman

=2D-=20
Roman Fietze                Telemotive AG B=FCro M=FChlhausen
Breitwiesen                              73347 M=FChlhausen
Tel.: +49(0)7335/18493-45        http://www.telemotive.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mpc52xx_lpbfifo: flag DMA irqs as enabled after requesting them
  2010-03-12  5:58 [PATCH] mpc52xx_lpbfifo: flag DMA irqs as enabled after requesting them Roman Fietze
@ 2010-03-27  1:49 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2010-03-27  1:49 UTC (permalink / raw)
  To: Roman Fietze; +Cc: linuxppc-dev

On Thu, Mar 11, 2010 at 10:58 PM, Roman Fietze
<roman.fietze@telemotive.de> wrote:
> Hello,
>
> This patch avoids unbalanced enable/disable messages for the DMA
> interrupts when running the 5200 platform SCLPC/BestComm driver in DMA
> mode.
>
>
> Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>

Applied, thanks.

g.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-27  1:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12  5:58 [PATCH] mpc52xx_lpbfifo: flag DMA irqs as enabled after requesting them Roman Fietze
2010-03-27  1:49 ` Grant Likely

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).