1. 07 7月, 2016 1 次提交
    • A
      dmaengine: bcm2835: fix 64-bit warning · 9a8d0efa
      Arnd Bergmann 提交于
      When building this driver on arm64, we get a harmless type
      mismatch warning:
      
      drivers/dma/bcm2835-dma.c: In function 'bcm2835_dma_fill_cb_chain_with_sg':
      include/linux/kernel.h:743:17: warning: comparison of distinct pointer types lacks a cast
        (void) (&_min1 == &_min2);  \
                       ^
      drivers/dma/bcm2835-dma.c:409:21: note: in expansion of macro 'min'
          cb->cb->length = min(len, max_len);
      
      This changes the type of the 'len' variable to size_t, which
      avoids the problem.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 388cc7a2 ("dmaengine: bcm2835: add slave_sg support to bcm2835-dma")
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      9a8d0efa
  2. 01 7月, 2016 1 次提交
    • A
      dmaengine: bcm2835: fix 64-bit warning · 4aa819c7
      Arnd Bergmann 提交于
      When building this driver on arm64, we get a harmless type
      mismatch warning:
      
      drivers/dma/bcm2835-dma.c: In function 'bcm2835_dma_fill_cb_chain_with_sg':
      include/linux/kernel.h:743:17: warning: comparison of distinct pointer types lacks a cast
        (void) (&_min1 == &_min2);  \
                       ^
      drivers/dma/bcm2835-dma.c:409:21: note: in expansion of macro 'min'
          cb->cb->length = min(len, max_len);
      
      This changes the type of the 'len' variable to size_t, which
      avoids the problem.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 388cc7a2 ("dmaengine: bcm2835: add slave_sg support to bcm2835-dma")
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      4aa819c7
  3. 08 6月, 2016 1 次提交
  4. 02 5月, 2016 1 次提交
  5. 19 4月, 2016 1 次提交
    • M
      dmaengine: bcm2835: use platform_get_irq_byname · e2eca638
      Martin Sperl 提交于
      Use platform_get_irq_byname to allow for correct mapping of
      interrupts to dma channels.
      
      The currently implemented device tree is unfortunately
      implemented with the wrong assumption, that each dma-channel
      has its own dma channel, but dma-irq 11 is handling
      dma-channel 11-14 and dma-irq 12 is actually a "catch all"
      interrupt.
      
      So here we use the byname variant and require that interrupts
      are explicitly named via the interrupts-name property in the
      device tree.
      
      The use of shared interrupts is also implemented.
      
      As a side-effect this means we can now use dma channels 12, 13 and 14
      in a correct manner - also testing shows that onl using
      channels 11 to 14 for spi and i2s works perfectly (when playing
      some video)
      Signed-off-by: NMartin Sperl <kernel@martin.sperl.org>
      Acked-by: NEric Anholt <eric@anholt.net>
      Acked-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      e2eca638
  6. 15 4月, 2016 8 次提交
  7. 05 12月, 2015 1 次提交
  8. 31 3月, 2015 1 次提交
  9. 22 12月, 2014 3 次提交
  10. 06 11月, 2014 2 次提交
  11. 20 10月, 2014 1 次提交
  12. 04 8月, 2014 1 次提交
  13. 20 1月, 2014 1 次提交
  14. 08 1月, 2014 1 次提交