Messages in this thread | | | Date | Fri, 07 Oct 2011 14:54:22 +0900 | From | Tomoya MORINAGA <> | Subject | Re: [PATCH] pch_dma: Fix suspend issue |
| |
(2011/10/07 14:00), Vinod Koul wrote: > How would changing the max number of descriptors fix the memory > violation? >
In probe of pch_dma, you can see the following code.
for (i = 0; i < nr_channels; i++) {
snip...
pd_chan->membase = ®s->desc[i];
snip...
}
Max value of nr_channels is 12 defined at pci_table. So, this caused memory access violation.
-- tomoya ROHM Co., Ltd.
| |