1. 29 3月, 2014 1 次提交
  2. 20 1月, 2014 1 次提交
  3. 13 8月, 2013 2 次提交
  4. 05 7月, 2013 1 次提交
  5. 02 5月, 2013 1 次提交
  6. 15 4月, 2013 1 次提交
  7. 28 1月, 2013 2 次提交
  8. 08 1月, 2013 1 次提交
    • B
      dmaengine: sirf: enable the driver support new SiRFmarco SoC · f7d935dc
      Barry Song 提交于
      The driver supports old up SiRFprimaII SoCs, this patch makes it support
      the new SiRFmarco as well.
      SiRFmarco, as a SMP SoC, adds new DMA_INT_EN_CLR and DMA_CH_LOOP_CTRL_CLR
      registers, to disable IRQ/Channel, we should write 1 to the corresponding
      bit in the two CLEAR register.
      
      Tested on SiRFmarco using SPI driver:
          $ /mnt/spidev-sirftest -D /dev/spidev32766.0
          spi mode: 0
          bits per word: 8
          max speed: 500000 Hz (500 KHz)
      
          00 00 00 00 00 00
          00 00 00 00 00 00
          00 00 00 00 00 00
          00 00 00 00 00 00
          00 00 00 00 00 00
          00 00 00 00 00 00
          00 00 00 00
      
          $ cat /proc/interrupts
                     CPU0       CPU1
           32:       1593          0       GIC  sirfsoc_timer0
           33:          0       3533       GIC  sirfsoc_timer1
           44:          0          0       GIC  sirfsoc_dma
           45:         16          0       GIC  sirfsoc_dma
           47:          6          0       GIC  sirfsoc_spi
           50:       5654          0       GIC  sirfsoc-uart
           ...
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      f7d935dc
  9. 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
  10. 29 11月, 2012 2 次提交
  11. 24 10月, 2012 2 次提交
  12. 22 9月, 2012 1 次提交
  13. 22 8月, 2012 1 次提交
    • J
      drivers/dma/sirf-dma.c: fix usage of devm functions · 94d3901c
      Julia Lawall 提交于
      Fix some problems with the use of devm_ functions.
      
      devm_kzalloc: devm_kfree is not needed
      
      devm_ioremap: iounmap should not be used, no free is needed
      
      devm_request_irq: the devm_free_irq is followed by irq_dispose_mapping.  I
      don't know if it is safe to move the freeing of the irq in this case, so I
      have just un-devm'd this function, since the implicit freeing is never
      taken advantage of.
      
      In the original code failure of of_address_to_resource jumped to free_mem,
      but should have jumped to irq_dispose, since irq_of_parse_and_map has
      completed at this point.
      
      In the original code unmap_mem was after irq_dispose, but it should have
      been before, again since irq_of_parse_and_map has completed at this point.
      
      One of these problems was found using the following semantic match:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression x;
      @@
      
      *x = devm_ioremap(...)
      ...
      iounmap(x);
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      94d3901c
  14. 21 3月, 2012 1 次提交
  15. 13 3月, 2012 5 次提交
  16. 05 12月, 2011 1 次提交
  17. 18 11月, 2011 1 次提交