1. 04 12月, 2014 2 次提交
    • K
      ASoC: rsnd: add callback status check method · 417f9642
      Kuninori Morimoto 提交于
      R-Car sound can use SSI/SRC/DVC modules, and these are controlled as
      rsnd_mod in rsnd driver. These rsnd_mod has each own function as
      callback. Basically these callback function has pair like probe/remove,
      start/stop, etc. And, these functions are called by order to each stage
      like below.
       1. src->probe
       2. ssi->probe
       3. dvc->probe
       4. src->start
       5. ssi->start
       6. dvc->start
       7. src->stop
       8. ssi->stop
       9. dvc->stop
      10. src->remove
      11. ssi->remove
      12. dvc->remove
      
      But, current rsnd driver doesn't care about its status which indicates
      which function is called.
      For example, if 5) returns error, 6) is not called. In such case,
      9) should not be called. This patch care about each modules status.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      417f9642
    • K
      ASoC: rsnd: add .fallback callback · 97463e19
      Kuninori Morimoto 提交于
      Current R-Car sound has PIO fallback support if it couldn't use DMA.
      This fallback is done in .remove callback, but, it should have
      .fallback callback. Otherwise, normal .remove callback will have
      strange behavior. This patch adds .fallback callback.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      97463e19
  2. 10 11月, 2014 3 次提交
  3. 07 11月, 2014 5 次提交
  4. 23 10月, 2014 3 次提交
  5. 20 8月, 2014 1 次提交
  6. 17 8月, 2014 3 次提交
  7. 02 8月, 2014 2 次提交
  8. 01 8月, 2014 5 次提交
  9. 29 7月, 2014 1 次提交
  10. 26 7月, 2014 1 次提交
  11. 23 7月, 2014 1 次提交
  12. 02 7月, 2014 3 次提交
  13. 28 6月, 2014 6 次提交
  14. 22 6月, 2014 2 次提交
    • L
      ASoC: sh/fsi: Make one-bit bitfields unsigned · 9f98cd69
      Lars-Peter Clausen 提交于
      One-bit signed bitfields have two possible values: 0 and -1. This sometimes
      leads to unexpected results (e.g. foo.bar = 1; foo.bar == 1 => false) which is
      why it is recommended to make one-bit bitfields unsigned.
      
      This fixes the following sparse warnings:
      	sound/soc/sh/fsi.c:267:25: error: dubious one-bit signed bitfield
      	sound/soc/sh/fsi.c:268:22: error: dubious one-bit signed bitfield
      	sound/soc/sh/fsi.c:269:20: error: dubious one-bit signed bitfield
      	sound/soc/sh/fsi.c:270:28: error: dubious one-bit signed bitfield
      	sound/soc/sh/fsi.c:271:26: error: dubious one-bit signed bitfield
      	sound/soc/sh/fsi.c:272:25: error: dubious one-bit signed bitfield
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      9f98cd69
    • L
      ASoC: rcar: Fix dma direction type · cd7bcc60
      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 warning from sparse:
      	sound/soc/sh/rcar/core.c:227:49: warning: mixing different enum types
      	sound/soc/sh/rcar/core.c:227:49:     int enum dma_data_direction  versus
      	sound/soc/sh/rcar/core.c:227:49:     int enum dma_transfer_direction
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      cd7bcc60
  15. 18 6月, 2014 2 次提交