1. 03 10月, 2019 1 次提交
  2. 09 9月, 2019 1 次提交
  3. 26 7月, 2019 1 次提交
  4. 19 6月, 2019 1 次提交
  5. 18 6月, 2018 1 次提交
  6. 09 1月, 2018 1 次提交
    • J
      ASoC: rockchip: i2s: fix playback after runtime resume · c66234cf
      John Keeping 提交于
      When restoring registers during runtime resume, we must not write to
      I2S_TXDR which is the transmit FIFO as this queues up a sample to be
      output and pushes all of the output channels down by one.
      
      This can be demonstrated with the speaker-test utility:
      
      	for i in a b c; do speaker-test -c 2 -s 1; done
      
      which should play a test through the left speaker three times but if the
      I2S hardware starts runtime suspended the first sample will be played
      through the right speaker.
      
      Fix this by marking I2S_TXDR as volatile (which also requires marking it
      as readble, even though it technically isn't).  This seems to be the
      most robust fix, the alternative of giving I2S_TXDR a default value is
      more fragile since it does not prevent regcache writing to the register
      in all circumstances.
      
      While here, also fix the configuration of I2S_RXDR and I2S_FIFOLR; these
      are not writable so they do not suffer from the same problem as I2S_TXDR
      but reading from I2S_RXDR does suffer from a similar problem.
      
      Fixes: f0447f6c ("ASoC: rockchip: i2s: restore register during runtime_suspend/resume cycle", 2016-09-07)
      Signed-off-by: NJohn Keeping <john@metanate.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Cc: stable@vger.kernel.org
      c66234cf
  7. 08 1月, 2018 1 次提交
  8. 15 9月, 2017 1 次提交
  9. 15 8月, 2017 1 次提交
  10. 16 6月, 2017 1 次提交
  11. 15 6月, 2017 1 次提交
  12. 14 6月, 2017 2 次提交
  13. 13 9月, 2016 1 次提交
  14. 30 5月, 2016 2 次提交
  15. 05 5月, 2016 2 次提交
  16. 22 2月, 2016 2 次提交
  17. 10 1月, 2016 1 次提交
  18. 10 12月, 2015 2 次提交
  19. 17 11月, 2015 1 次提交
    • S
      ASoC: rockchip: i2s: compatible with different chips · c4f9374d
      Sugar Zhang 提交于
      there maybe more than one i2s module inside chip, and these i2s modules
      have different channels features.
      
      for example: there are 3 i2s in rk3066, one support 8 channels playback
      and 2 channels capture, but the others only support 2 channels playback
      and 2 channels capture.
      
      in order to compatible with these various chips, we add playback and
      capture property to specify these values.
      
      there are default channels configuration in driver: 8 channels playback
      and 2 channels capture. if not add property, we use the default values.
      Signed-off-by: NSugar Zhang <sugar.zhang@rock-chips.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c4f9374d
  20. 16 11月, 2015 1 次提交
  21. 23 10月, 2015 2 次提交
  22. 20 8月, 2015 1 次提交
  23. 08 1月, 2015 1 次提交
  24. 24 12月, 2014 2 次提交
  25. 29 10月, 2014 1 次提交
  26. 20 10月, 2014 1 次提交
  27. 08 10月, 2014 1 次提交
  28. 14 9月, 2014 4 次提交
  29. 28 7月, 2014 1 次提交
  30. 15 7月, 2014 1 次提交