1. 11 Oct, 2011 1 commit
    • Tomoya MORINAGA's avatar
      pch_dma: Fix suspend issue · c43f1508
      Tomoya MORINAGA authored
      Currently, executing suspend/hibernation,
      memory access violation occurs.
      
      In pch_dma_save_regs() called by suspend(),
      you can see the following code.
      
      static void pch_dma_save_regs(struct pch_dma *pd)
      {
      snip...
              list_for_each_entry_safe(chan, _c, &pd->dma.channels, device_node) {
                      pd_chan = to_pd_chan(chan);
      
                      pd->ch_regs[i].dev_addr = channel_readl(pd_chan, DEV_ADDR);
                      pd->ch_regs[i].mem_addr = channel_readl(pd_chan, MEM_ADDR);
                      pd->ch_regs[i].size = channel_readl(pd_chan, SIZE);
                      pd->ch_regs[i].next = channel_readl(pd_chan, NEXT);
      
                      i++;
              }
      }
      
      Max loop count is 12 defined at pci_table.
      So, this caused memory access violation.
      
      This patch fixes the issue
       - Modify array size (MAX_CHAN_NR)
      Signed-off-by: default avatarTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
      c43f1508
  2. 07 Oct, 2011 1 commit
  3. 28 Sep, 2011 2 commits
  4. 21 Sep, 2011 2 commits
  5. 20 Sep, 2011 1 commit
  6. 19 Sep, 2011 3 commits
  7. 14 Sep, 2011 16 commits
  8. 05 Sep, 2011 5 commits
  9. 02 Sep, 2011 1 commit
  10. 29 Aug, 2011 5 commits
  11. 28 Aug, 2011 1 commit
  12. 27 Aug, 2011 2 commits