1. 07 2月, 2019 5 次提交
  2. 12 2月, 2018 1 次提交
  3. 12 12月, 2017 1 次提交
    • A
      ASoC: sun4i-codec: enable 12Khz and 24Khz audio sample rates · 5a0cf024
      Andrea Bondavalli 提交于
      H3 ASoC supports 12Khz and 24Khz audio sample rates but the current
      drivers doesn't advertise these rates properly and they cannot be used.
      
      For example attempt to capture at 12Khz uses 11Khz (same applies to
      audio playback):
      
      Recording raw data '/tmp/testS16_LE.raw' : Signed 16 bit Little Endian, Rate 12000 Hz, Stereo
      Warning: rate is not accurate (requested = 12000Hz, got = 11025Hz)
      
      This patch fixes the audio sample rates declared and supported by the
      driver according to the H3 data sheet.  Specifically for audio playback:
      
      8000, 11050, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 96000, 192000
      
      and for audio capture:
      
      8000, 11050, 12000, 16000, 22050, 24000, 32000, 44100, 48000
      Signed-off-by: NAndrea Bondavalli <andrea.bondavalli74@gmail.com>
      Acked-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      5a0cf024
  4. 09 11月, 2017 1 次提交
  5. 22 8月, 2017 1 次提交
  6. 07 8月, 2017 1 次提交
  7. 20 7月, 2017 1 次提交
    • P
      ASoC: sun4i: explicitly request exclusive reset control · 72bfa211
      Philipp Zabel 提交于
      Commit a53e35db ("reset: Ensure drivers are explicit when requesting
      reset lines") started to transition the reset control request API calls
      to explicitly state whether the driver needs exclusive or shared reset
      control behavior. Convert all drivers requesting exclusive resets to the
      explicit API call so the temporary transition helpers can be removed.
      
      No functional changes.
      
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Cc: alsa-devel@alsa-project.org
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      72bfa211
  8. 17 7月, 2017 1 次提交
  9. 07 6月, 2017 1 次提交
  10. 10 1月, 2017 1 次提交
  11. 01 12月, 2016 2 次提交
  12. 11 11月, 2016 1 次提交
  13. 09 11月, 2016 2 次提交
  14. 05 11月, 2016 3 次提交
  15. 04 11月, 2016 6 次提交
  16. 02 11月, 2016 1 次提交
    • C
      ASoC: sun4i-codec: Enable bus clock after getting GPIO · 3716a891
      Chen-Yu Tsai 提交于
      In the current probe function the GPIO is acquired after the codec's
      bus clock is enabled. However if it fails to acquire the GPIO due to
      a deferred probe, it does not disable the bus clock before bailing out.
      This would result in the clock being enabled multiple times.
      
      Move the code that enables the bus clock after the part that gets the
      GPIO, maintaining a separation between resource acquisition and device
      enablement in the probe function.
      Signed-off-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3716a891
  17. 31 10月, 2016 1 次提交
    • C
      ASoC: sun4i-codec: return error code instead of NULL when create_card fails · 85915b63
      Chen-Yu Tsai 提交于
      When sun4i_codec_create_card fails, we do not assign a proper error
      code to the return value. The return value would be 0 from the previous
      function call, or we would have bailed out sooner. This would confuse
      the driver core into thinking the device probe succeeded, when in fact
      it didn't, leaving various devres based resources lingering.
      
      Make the create_card function pass back a meaningful error code, and
      assign it to the return value.
      
      Fixes: 45fb6b6f ("ASoC: sunxi: add support for the on-chip codec on
      		      early Allwinner SoCs")
      Signed-off-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      85915b63
  18. 27 9月, 2016 1 次提交
  19. 25 9月, 2016 2 次提交
  20. 08 8月, 2016 1 次提交
  21. 23 12月, 2015 1 次提交
  22. 13 12月, 2015 2 次提交
  23. 01 12月, 2015 3 次提交