1. 21 5月, 2014 5 次提交
  2. 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
  3. 22 1月, 2014 2 次提交
  4. 15 1月, 2014 1 次提交
  5. 10 1月, 2014 2 次提交
  6. 09 1月, 2014 9 次提交
  7. 07 1月, 2014 1 次提交
  8. 06 1月, 2014 1 次提交
  9. 19 12月, 2013 1 次提交
  10. 16 12月, 2013 1 次提交
  11. 03 12月, 2013 2 次提交
  12. 02 12月, 2013 1 次提交
  13. 24 11月, 2013 1 次提交
  14. 03 10月, 2013 1 次提交
  15. 26 9月, 2013 1 次提交
  16. 24 9月, 2013 1 次提交
    • F
      ASoC: fsl: fsl_ssi: Fix simultaneous capture and playback · 64d2307c
      Fabio Estevam 提交于
      When doing simultaneous capture and playback on a mx6 board we get the following
      error:
      
      $ arecord -f cd  | aplay -f cd
      imx-sgtl5000 sound.13: set sample size in capture stream first
      fsl-ssi-dai 2028000.ssi: ASoC: can't open interface 2028000.ssi: -11
      ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_
      open) unable to open slave
      aplay: main:660: audio open error: Device or resource busy
      Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
      
      The 'arecord -f cd  | aplay -f cd' always trigger cause the
      'if (!first_runtime->sample_bits)' block to be true which returns an error.
      
      Adjust the logic inside fsl_ssi_startup(), so that we do not always hit the
      error when playing  'arecord | aplay' line for the first time.
      Reported-by: NChris Clepper <cgclepper@gmail.com>
      Suggested-by: NNicolin Chen <b42378@freescale.com>
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      64d2307c
  17. 17 9月, 2013 2 次提交
  18. 27 8月, 2013 1 次提交
  19. 22 8月, 2013 4 次提交
  20. 20 8月, 2013 1 次提交