1. 01 6月, 2014 8 次提交
  2. 26 5月, 2014 1 次提交
    • F
      ASoC: fsl_ssi: Add suspend/resume support · b20e53a8
      Fabio Estevam 提交于
      Doing a suspend/resume sequence while playing an audio track in the backgroung
      causes broken audio right after resume:
      
      root@freescale /$ aplay clarinet.wav &
      
      root@freescale /home$ Playing WAVE 'clarinet.wav' : Signed 16 bit Little Endian,
       Rate 44100 Hz, Mono
      
      root@freescale /home$ echo mem > /sys/power/state
      PM: Syncing filesystems ... done.
      Freezing user space processes ... (elapsed 0.002 seconds) done.
      Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
      Suspending console(s) (use no_console_suspend to debug)
      PM: suspend of devices complete after 37.082 msecs
      PM: suspend devices took 0.040 seconds
      PM: late suspend of devices complete after 4.234 msecs
      PM: noirq suspend of devices complete after 4.618 msecs
      Disabling non-boot CPUs ...
      PM: noirq resume of devices complete after 4.013 msecs
      PM: early resume of devices complete after 4.000 msecs
      PM: resume of devices complete after 68.907 msecs
      PM: resume devices took 0.070 seconds
      Restarting tasks ... Suspended. Trying resume. Failed. Restarting stream. Done.
      Suspended. Trying resume. Failed. Restarting stream. Done.
      Suspended. Trying resume. Failed. Restarting stream. Done.
      Suspended. Trying resume. Failed. Restarting stream. Done.
      Suspended. Trying resume. Failed. Restarting stream. Done.
      Suspended. Trying resume. Failed. Restarting stream. Done.
      Suspended. Trying resume. Failed. Restarting stream. Done.
      ....
      
      Add SNDRV_PCM_TRIGGER_RESUME/SUSPEND cases so that we can gracefully handle
      system suspend/resume.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: NShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      b20e53a8
  3. 21 5月, 2014 9 次提交
  4. 15 4月, 2014 2 次提交
    • M
      ASoC: fsl-ssi: Fix i2s_mode variable setup · 07a28dbe
      Markus Pargmann 提交于
      In fsl_ssi_hw_params() we update the I2S and NET bits using the i2s_mode
      variable. The fsl_ssi_set_dai_fmt() function only writes the i2s-mode to
      the i2s_mode variable and not the NET bit. This fixes it by adding that
      bit to i2s_mode.
      Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      07a28dbe
    • M
      ASoC: fsl-ssi: Remove fsl_ssi_setup · 2b0db996
      Markus Pargmann 提交于
      fsl_ssi_set_dai_fmt() manages most of the register setup routines now.
      fsl_ssi_setup() makes the same as fsl_ssi_set_dai_fmt() but it relies on
      DT properties.
      
      In most cases the settings of fsl_ssi_setup() are already overwritten by
      fsl_ssi_set_dai_fmt() when it is called by the soc-core when a sound
      card is added. As these settings depend on the combination of codec and
      cpu DAI, this should really be done by sound cards.
      
      This patch removes fsl_ssi_setup() and adds the missing register setups
      to fsl_ssi_set_dai_fmt(). It also removes all calls to fsl_ssi_setup().
      Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      2b0db996
  5. 22 1月, 2014 2 次提交
  6. 15 1月, 2014 1 次提交
  7. 10 1月, 2014 2 次提交
  8. 09 1月, 2014 9 次提交
  9. 07 1月, 2014 1 次提交
  10. 06 1月, 2014 1 次提交
  11. 19 12月, 2013 1 次提交
  12. 16 12月, 2013 1 次提交
  13. 03 12月, 2013 2 次提交