public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][PPC32] PPC4XX DMA polarity init fix
@ 2004-12-15 18:59 Matt Porter
  0 siblings, 0 replies; only message in thread
From: Matt Porter @ 2004-12-15 18:59 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: linux-kernel, linuxppc-embedded, cwernham

[Clear bug fix, hopefully it can go in before 2.6.10]

This patch applies to the kernel 2.6.9 and fixes the initialisation of 
the DMA channel polarity in the function ppc4xx_init_dma_channel() for 
the PPC 4XX processor.

Signed-off-by: Colin P Wernham <cwernham@airspan.com>
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>

===== arch/ppc/syslib/ppc4xx_dma.c 1.8 vs edited =====
--- 1.8/arch/ppc/syslib/ppc4xx_dma.c	2004-08-07 11:05:39 -07:00
+++ edited/arch/ppc/syslib/ppc4xx_dma.c	2004-12-15 11:58:16 -07:00
@@ -466,7 +466,7 @@
 
 	/* clear all polarity signals and then "or" in new signal levels */
 	polarity &= ~GET_DMA_POLARITY(dmanr);
-	polarity |= p_dma_ch->polarity;
+	polarity |= p_init->polarity;
 #if DCRN_POL > 0
 	mtdcr(DCRN_POL, polarity);
 #endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-15 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15 18:59 [PATCH][PPC32] PPC4XX DMA polarity init fix Matt Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox