1. 17 11月, 2011 2 次提交
  2. 31 10月, 2011 7 次提交
  3. 27 10月, 2011 2 次提交
  4. 16 10月, 2011 2 次提交
  5. 12 10月, 2011 2 次提交
    • T
      pch_dma: Reduce wasting memory · 01631243
      Tomoya MORINAGA 提交于
      nr_channels is defined in "struct pch_dma".
      and struct pch_dma_chan is defined in "struct pch_dma".
      So, "sizeof(struct pch_dma_chan) * nr_channels" is unnecessary.
      Signed-off-by: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      01631243
    • T
      pch_dma: Fix suspend issue · c43f1508
      Tomoya MORINAGA 提交于
      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: NTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      c43f1508
  6. 07 10月, 2011 1 次提交
  7. 28 9月, 2011 2 次提交
  8. 21 9月, 2011 2 次提交
  9. 20 9月, 2011 1 次提交
  10. 19 9月, 2011 3 次提交
  11. 14 9月, 2011 16 次提交