mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] pch_dma: Fix suspend issue
@ 2011-10-04  7:27 Tomoya MORINAGA
  2011-10-07  5:00 ` Vinod Koul
  0 siblings, 1 reply; 6+ messages in thread
From: Tomoya MORINAGA @ 2011-10-04  7:27 UTC (permalink / raw)
  To: Dan Williams, Vinod Koul, linux-kernel
  Cc: qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, Tomoya MORINAGA

Currently, executing suspend/hibernation,
memory access violation occurs.

This patch fixes the issue
 - Modify array size (MAX_CHAN_NR)

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
---
 drivers/dma/pch_dma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index 1ac8d4b..42bcc80 100644
--- a/drivers/dma/pch_dma.c
+++ b/drivers/dma/pch_dma.c
@@ -60,7 +60,7 @@
 #define DMA_DESC_FOLLOW_WITHOUT_IRQ	0x2
 #define DMA_DESC_FOLLOW_WITH_IRQ	0x3
 
-#define MAX_CHAN_NR			8
+#define MAX_CHAN_NR			12
 
 #define DMA_MASK_CTL0_MODE	0x33333333
 #define DMA_MASK_CTL2_MODE	0x00003333
-- 
1.7.4.4


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

end of thread, other threads:[~2011-10-07 14:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-04  7:27 [PATCH] pch_dma: Fix suspend issue Tomoya MORINAGA
2011-10-07  5:00 ` Vinod Koul
2011-10-07  5:54   ` Tomoya MORINAGA
2011-10-07  6:14     ` Vinod Koul
2011-10-07 10:33       ` Tomoya MORINAGA
2011-10-07 14:18         ` Vinod Koul

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

all inboxes | Powered by JetHome®