1. 15 1月, 2015 1 次提交
  2. 12 1月, 2015 1 次提交
  3. 06 1月, 2015 1 次提交
  4. 07 12月, 2014 2 次提交
  5. 04 12月, 2014 17 次提交
  6. 18 11月, 2014 1 次提交
    • L
      ASoC: Rename snd_soc_dai_driver struct ac97_control field to bus_control · bc263214
      Lars-Peter Clausen 提交于
      Setting the ac97_control field on a CPU DAI tells the ASoC core that this
      DAI in addition to audio data also transports control data to the CODEC.
      This causes the core to suspend the DAI after the CODEC and resume it before
      the CODEC so communication to the CODEC is still possible. This is not
      necessarily something that is specific to AC'97 and can be used by other
      buses with the same requirement. This patch renames the flag from
      ac97_control to bus_control to make this explicit.
      
      While we are at it also change the type from int to bool.
      
      The following semantich patch was used for automatic conversion of the
      drivers:
      // <smpl>
      @@
      identifier drv;
      @@
      struct snd_soc_dai_driver drv = {
      -	.ac97_control
      +	.bus_control
      	=
      -	1
      +	true
      };
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      bc263214
  7. 10 11月, 2014 3 次提交
  8. 07 11月, 2014 5 次提交
  9. 29 10月, 2014 2 次提交
  10. 23 10月, 2014 3 次提交
  11. 20 10月, 2014 1 次提交
  12. 20 8月, 2014 1 次提交
  13. 17 8月, 2014 2 次提交
    • L
      ASoC: sh: Fix dma direction type · 6c7d1dfc
      Lars-Peter Clausen 提交于
      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: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      6c7d1dfc
    • L
      ASoC: rcar: Use && instead of & for boolean expressions · c8e6e960
      Lars-Peter Clausen 提交于
      Sparse spits out the following warning:
      	sound/soc/sh/rcar/gen.c:250:21: warning: dubious: x & !y
      
      It does this because sometimes mixing boolean and bit-wise logic has not the
      intended result. In this case we are fine, but replacing the bit-wise '&' with
      the boolean '&&' silences the sparse warning. The generated code for both cases
      is the same.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      c8e6e960