1. 23 11月, 2011 1 次提交
  2. 15 11月, 2011 1 次提交
  3. 20 9月, 2011 1 次提交
  4. 16 9月, 2011 1 次提交
    • T
      ASoC: improve asynchronous mode support in the fsl_ssi driver · 5e538eca
      Timur Tabi 提交于
      The Freescale SSI audio controller supports "synchronous" and "asynchronous"
      modes.  In synchronous mode, playback and capture use the same input clock,
      so sample rates must be the same during simultaneous playback and capture.
      Unfortunately, the code which supports asynchronous mode is just broken in
      various ways.  In particular, it was constraining sample sizes as well as
      the sample rate.
      
      The fix also allows us to simplify the code by eliminating the 'asynchronous',
      'playback', and 'capture' variables that were used to keep track of playback
      and capture streams.
      
      Unfortunately, it turns out that simulataneous playback and record does not
      actually work on the only platform that supports asynchronous mode: the
      Freescale P1022DS reference board.  If a second stream is started, the SSI
      grinds to halt for both streams.  This is true even if the P1022 is configured
      for synchronous mode, so it's likely a hardware problem that needs to be
      worked around.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Acked-by: NLiam Girdwood <lrg@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      5e538eca
  5. 31 8月, 2011 1 次提交
  6. 25 8月, 2011 1 次提交
  7. 23 8月, 2011 3 次提交
  8. 17 8月, 2011 2 次提交
  9. 14 6月, 2011 1 次提交
  10. 10 6月, 2011 1 次提交
  11. 09 6月, 2011 2 次提交
  12. 08 6月, 2011 1 次提交
  13. 01 3月, 2011 1 次提交
  14. 27 1月, 2011 1 次提交
  15. 30 11月, 2010 2 次提交
  16. 25 11月, 2010 2 次提交
  17. 23 11月, 2010 1 次提交
  18. 09 11月, 2010 1 次提交
  19. 27 10月, 2010 1 次提交
  20. 02 9月, 2010 1 次提交
    • J
      ASoC: pl022_ds.c: Add of_node_put to avoid memory leak · 880b8ffd
      Julia Lawall 提交于
      Add a call to of_node_put in the error handling code following a call to
      of_parse_phandle.
      
      This patch also moves the existing call to of_node_put tothe end of the
      error handling code, to make it possible to jump to of_node_put without
      doing the other cleanup operations.  These appear to be disjoint
      operations, so the ordering doesn't matter.
      
      The semantic match that finds this problem is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r exists@
      local idexpression x;
      expression E,E1,E2;
      statement S;
      @@
      
      *x =
      (of_find_node_by_path
      |of_find_node_by_name
      |of_find_node_by_phandle
      |of_get_parent
      |of_get_next_parent
      |of_get_next_child
      |of_find_compatible_node
      |of_match_node
      |of_find_node_by_type
      |of_find_node_with_property
      |of_find_matching_node
      |of_parse_phandle
      )(...);
      ...
      if (x == NULL) S
      <... when != x = E
      *if (...) {
        ... when != of_node_put(x)
            when != if (...) { ... of_node_put(x); ... }
      (
        return <+...x...+>;
      |
      *  return ...;
      )
      }
      ...>
      (
      E2 = x;
      |
      of_node_put(x);
      )
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Acked-by: NTimur Tabi <timur@freescale.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.uo.uk>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      880b8ffd
  21. 21 8月, 2010 1 次提交
  22. 20 8月, 2010 2 次提交
  23. 19 8月, 2010 1 次提交
  24. 12 8月, 2010 5 次提交
  25. 07 8月, 2010 1 次提交
  26. 06 8月, 2010 1 次提交
  27. 17 6月, 2010 1 次提交
  28. 16 6月, 2010 1 次提交
    • G
      powerpc/5200: Fix build error in sound code. · f487537c
      Grant Likely 提交于
      Compiling in the MPC5200 sound drivers results in the following build error:
      
      sound/soc/fsl/mpc5200_psc_ac97.o: In function `to_psc_dma_stream':
      mpc5200_psc_ac97.c:(.text+0x0): multiple definition of `to_psc_dma_stream'
      sound/soc/fsl/mpc5200_dma.o:mpc5200_dma.c:(.text+0x0): first defined here
      sound/soc/fsl/efika-audio-fabric.o: In function `to_psc_dma_stream':
      efika-audio-fabric.c:(.text+0x0): multiple definition of `to_psc_dma_stream'
      sound/soc/fsl/mpc5200_dma.o:mpc5200_dma.c:(.text+0x0): first defined here
      make[3]: *** [sound/soc/fsl/built-in.o] Error 1
      make[2]: *** [sound/soc/fsl] Error 2
      make[1]: *** [sound/soc] Error 2
      make: *** [sound] Error 2
      
      This patch fixes it by declaring the inline function in the header file to
      also be a static.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Jon Smirl <jonsmirl@gmail.com>
      Tested-by: NJohn Hilmar Linkhorst <John.Linkhorst@rwth-aachen.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      f487537c
  29. 13 6月, 2010 1 次提交