1. 04 9月, 2013 1 次提交
    • J
      dma: edma: Setup parameters to DMA MAX_NR_SG at a time · 6fbe24da
      Joel Fernandes 提交于
      Changes are made here for configuring existing parameters to support
      DMA'ing them out in batches as needed.
      
      Also allocate as many as slots as needed by the SG list, but not more
      than MAX_NR_SG. Then these slots will be reused accordingly.
      For ex, if MAX_NR_SG=10, and number of SG entries is 40, still only
      10 slots will be allocated to DMA the entire SG list of size 40.
      
      Also enable TC interrupts for slots that are a last in a current
      iteration, or that fall on a MAX_NR_SG boundary.
      Signed-off-by: NJoel Fernandes <joelf@ti.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      6fbe24da
  2. 05 8月, 2013 1 次提交
  3. 18 6月, 2013 1 次提交
  4. 14 2月, 2013 1 次提交
  5. 20 1月, 2013 1 次提交
    • M
      dma: edma: fix slave config dependency on direction · 661f7cb5
      Matt Porter 提交于
      The edma_slave_config() implementation depends on the
      direction field such that it will not properly configure
      a slave channel when called without direction set.
      
      This fixes the implementation so that the slave config
      is copied as is and prep_slave_sg() handles the
      direction dependent handling. spi-omap2-mcspi and
      omap_hsmmc both expose this bug as they configure the
      slave channel config from a common path with an unconfigured
      direction field.
      Signed-off-by: NMatt Porter <mporter@ti.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      661f7cb5
  6. 04 1月, 2013 1 次提交
    • G
      Drivers: dma: remove __dev* attributes. · 4bf27b8b
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitconst,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Dan Williams <djbw@fb.com>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Cc: Barry Song <baohua.song@csr.com>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Alexander Duyck <alexander.h.duyck@intel.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Jassi Brar <jassisinghbrar@gmail.com>
      Cc: Dave Jiang <dave.jiang@intel.com>
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4bf27b8b
  7. 29 11月, 2012 2 次提交
  8. 01 9月, 2012 1 次提交