lkml.org 
[lkml]   [2011]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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 = &regs->desc[i];

    snip...

    }

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

    --
    tomoya
    ROHM Co., Ltd.


    \
     
     \ /
      Last update: 2011-10-07 07:57    [W:0.018 / U:61.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site