1. 17 6月, 2014 1 次提交
    • T
      ASoC: fsl-ssi: fix do_div build warning in fsl_ssi_set_bclk() · acf2c60a
      Timur Tabi 提交于
      do_div() requires that the first parameter is a 64-bit integer,
      which but clkrate was defined as an unsigned long.  This caused
      the following warnings:
      
       CC      sound/soc/fsl/fsl_ssi.o
      sound/soc/fsl/fsl_ssi.c: In function 'fsl_ssi_set_bclk':
      sound/soc/fsl/fsl_ssi.c:593:3: warning: comparison of distinct pointer types lacks a cast
      sound/soc/fsl/fsl_ssi.c:593:3: warning: right shift count >= width of type
      sound/soc/fsl/fsl_ssi.c:593:3: warning: passing argument 1 of '__div64_32' from incompatible pointer type
      include/asm-generic/div64.h:35:17: note: expected 'uint64_t *' but argument is of type 'long unsigned int *'
      Signed-off-by: NTimur Tabi <timur@tabi.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      acf2c60a
  2. 01 6月, 2014 8 次提交
  3. 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
  4. 21 5月, 2014 9 次提交
  5. 15 4月, 2014 3 次提交
  6. 22 1月, 2014 2 次提交
  7. 15 1月, 2014 1 次提交
  8. 10 1月, 2014 2 次提交
  9. 09 1月, 2014 9 次提交
  10. 07 1月, 2014 1 次提交
  11. 06 1月, 2014 1 次提交
  12. 19 12月, 2013 1 次提交
  13. 16 12月, 2013 1 次提交