1. 19 Aug, 2014 1 commit
  2. 17 Aug, 2014 1 commit
    • Lars-Peter Clausen's avatar
      ASoC: sh: Fix dma direction type · 6c7d1dfc
      Lars-Peter Clausen authored
      dmaengine_prep_slave_single() expects a enum dma_transfer_direction and not a
      enum dma_data_direction. Since the integer representations of both DMA_TO_DEVICE
      and DMA_MEM_TO_DEV aswell as DMA_FROM_DEVICE and DMA_DEV_TO_MEM have the same
      value the code worked fine even though it was using the wrong type.
      
      Fixes the following warnings from sparse:
      	sound/soc/sh/fsi.c:1307:42: warning: mixing different enum types
      	sound/soc/sh/fsi.c:1307:42:     int enum dma_data_direction  versus
      	sound/soc/sh/fsi.c:1307:42:     int enum dma_transfer_direction
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      6c7d1dfc
  3. 16 Aug, 2014 38 commits