All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Porter <mporter@kernel.crashing.org>
To: akpm@osdl.org, torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org, cwernham@airspan.com,
	linuxppc-embedded@ozlabs.org
Subject: [PATCH][PPC32] PPC4XX DMA polarity init fix
Date: Wed, 15 Dec 2004 11:59:44 -0700	[thread overview]
Message-ID: <20041215115944.B3696@home.com> (raw)

[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

WARNING: multiple messages have this Message-ID (diff)
From: Matt Porter <mporter@kernel.crashing.org>
To: akpm@osdl.org, torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org, linuxppc-embedded@ozlabs.org,
	cwernham@airspan.com
Subject: [PATCH][PPC32] PPC4XX DMA polarity init fix
Date: Wed, 15 Dec 2004 11:59:44 -0700	[thread overview]
Message-ID: <20041215115944.B3696@home.com> (raw)

[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

             reply	other threads:[~2004-12-15 18:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-15 18:59 Matt Porter [this message]
2004-12-15 18:59 ` [PATCH][PPC32] PPC4XX DMA polarity init fix Matt Porter

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=20041215115944.B3696@home.com \
    --to=mporter@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --cc=cwernham@airspan.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=torvalds@osdl.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.