Re: [PATCH] pch_dma: Fix suspend issue

From: Tomoya MORINAGA
Date: Fri Oct 07 2011 - 01:54:33 EST

(2011/10/07 14:00), Vinod Koul wrote:
How would changing the max number of descriptors fix the memory

In probe of pch_dma, you can see the following code.

for (i = 0; i < nr_channels; i++) {


pd_chan->membase = &regs->desc[i];



Max value of nr_channels is 12 defined at pci_table.
So, this caused memory access violation.

ROHM Co., Ltd.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at