All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Wernham <cwernham@airspan.com>
To: mporter@kernel.crashing.org
Cc: inuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org
Subject: [PATCH]PPC4XX DMA polarity init fix kernel 2.6.9
Date: Mon, 13 Dec 2004 14:08:26 +0000	[thread overview]
Message-ID: <41BDA25A.3090205@airspan.com> (raw)

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>

--- /home/cwernham/work/linux-2.6.9.old/arch/ppc/syslib/ppc4xx_dma.c 
2004-10-18 22:55:35.000000000 +0100
+++ arch/ppc/syslib/ppc4xx_dma.c	2004-12-10 09:19:19.000000000 +0000
@@ -466,7 +466,7 @@ ppc4xx_init_dma_channel(unsigned int dma

  	/* 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-13 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-13 14:08 Colin Wernham [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-12-13 14:51 [PATCH]PPC4XX DMA polarity init fix kernel 2.6.9 Colin Wernham

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=41BDA25A.3090205@airspan.com \
    --to=cwernham@airspan.com \
    --cc=inuxppc-dev@ozlabs.org \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=mporter@kernel.crashing.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.