1. Sep 09, 2009
    • Manuel Lauss's avatar
      ASoC: au1x: PSC-AC97 bugfixes · cdc65fbe
      Manuel Lauss authored
      
      
      This patch fixes the following bugs:
      
      - only reprogram bitdepth if it has changed since last call to hw_params.
      - add locking inside ac97_read/write functions:
        When reprogramming sample depth, the ac97 unit has to be disabled,
        which should not be done in the middle of codec register accesses.
      
      - retry timed-out codec register accesses.
      
      - wait for status bits to set/clear when starting/stopping various
        functional blocks; very important after reenabling AC97 unit else
        sound may be distorted (e.g. high-pitch noise in 1kHz sine wave).
      
      - clear fifos before/after starting/stopping RX/TX.
      
      - longer timeouts waiting for PSC/AC97 ready after cold reset
        with certain codecs this can take ridiculous amounts of time.
      
      Run-tested on various Au1200 platforms with various codecs.
      
      Signed-off-by: default avatarManuel Lauss <manuel.lauss@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      cdc65fbe
  2. Sep 08, 2009
  3. Sep 07, 2009
  4. Sep 05, 2009
  5. Sep 03, 2009
  6. Sep 01, 2009
  7. Aug 29, 2009
    • Jarkko Nikula's avatar
      ASoC: OMAP: Add functionality to set CLKR and FSR sources in McBSP DAI · d2c0bdaa
      Jarkko Nikula authored
      
      
      The McBSP1 port in OMAP3 processors (I believe OMAP2 too but I don't have
      specifications to check it) have additional CLKR and FSR pins for McBSP1
      receiver. Reset default is that receiver is using bit clock and frame
      sync signal from those pins but it is possible to configure to use
      also CLKX and FSX pins as well. In fact, other McBSP ports are doing that
      internally that transmitter and receiver share the CLKX and FSX.
      
      Add functionaly that machine drivers can set the CLKR and FSR sources by
      using the snd_soc_dai_set_sysclk.
      
      Thanks to "Aggarwal, Anuj" <anuj.aggarwal@ti.com> for reporting the issue.
      
      Signed-off-by: default avatarJarkko Nikula <jhnikula@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      d2c0bdaa
  8. Aug 28, 2009
  9. Aug 26, 2009
  10. Aug 25, 2009
  11. Aug 24, 2009
  12. Aug 23, 2009
  13. Aug 22, 2009
    • Mark Brown's avatar
      ASoC: Add DAPM widget power decision debugfs files · 79fb9387
      Mark Brown authored
      
      
      Currently when built with DEBUG DAPM will dump information about
      the power state decisions it is taking for each widget to dmesg.
      This isn't an ideal way of getting the information - it requires
      a kernel build to turn it on and off and for large hub CODECs the
      volume of information is so large as to be illegible. When the
      output goes to the console it can also cause a noticable impact
      on performance simply to print it out.
      
      Improve the situation by adding a dapm directory to our debugfs
      tree containing a file per widget with the same information in
      it. This still requires a decision to build with debugfs support
      but is easier to navigate and much less intrusive.
      
      In addition to the previously displayed information active streams
      are also shown in these files.
      
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      79fb9387
  14. Aug 21, 2009