1. 06 5月, 2010 2 次提交
  2. 30 4月, 2010 1 次提交
    • M
      ASoC: Add WM9090 amplifier driver · 39b8eab7
      Mark Brown 提交于
      The WM9090 is a high performance low power audio subsystem, including
      headphone and class D speaker drivers.
      
      Note that this driver is a standalone CODEC driver and so is only
      immediately suitable for use with the WM9090 as a standalone sound card
      taking line inputs, or with a DAC with no software control.  The pending
      ASoC multi-CODEC support will expand the range of systems that can use
      the driver, or system-specific adaptations can be made.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      39b8eab7
  3. 26 4月, 2010 1 次提交
  4. 17 4月, 2010 1 次提交
    • M
      ASoC: Add indirection for CODEC private data · b2c812e2
      Mark Brown 提交于
      One of the features of the multi CODEC work is that it embeds a struct
      device in the CODEC to provide diagnostics via a sysfs class rather than
      via the device tree, at which point it's much better to use the struct
      device private data rather than having two places to store it. Provide
      an accessor function to allow this change to be made more easily, and
      update all the CODEC drivers are updated.
      
      To ensure use of the accessor the private data structure member is
      renamed, meaning that if code developed with older an older core that
      still uses private_data is merged it will fail to build.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      b2c812e2
  5. 06 4月, 2010 1 次提交
  6. 23 3月, 2010 1 次提交
  7. 20 3月, 2010 1 次提交
  8. 18 3月, 2010 1 次提交
    • M
      ALSA: Add support for key reporting via the jack interface · ebb812cb
      Mark Brown 提交于
      Some devices provide support for detection of a small number of
      buttons on their jacks. One common implementation provides a single
      button, implemented by shorting the microphone to ground and detected
      along with microphone presence detection by detecting varying current
      draws on the microphone bias signal.
      
      Provide support for up to three buttons via the jack interface. These
      default to reporting BTN_n but an API is provided to allow these to
      be remapped to other keys by the machine driver where it knows what
      the keys are. More keys can be added with ease if required.
      
      This is only intended to support simple accessory button designs. If
      the interface is limiting then either creating a child device for the
      accessory or accessing the input device in the jack directly is
      recommended.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      ebb812cb
  9. 17 3月, 2010 1 次提交
  10. 16 3月, 2010 7 次提交
  11. 12 3月, 2010 1 次提交
  12. 06 3月, 2010 1 次提交
  13. 04 3月, 2010 4 次提交
  14. 26 2月, 2010 1 次提交
  15. 22 2月, 2010 2 次提交
  16. 17 2月, 2010 2 次提交
  17. 12 2月, 2010 1 次提交
  18. 04 2月, 2010 2 次提交
  19. 27 1月, 2010 1 次提交
    • J
      ALSA: pcm_lib - return back hw_ptr_interrupt · e7636925
      Jaroslav Kysela 提交于
      Clemens Ladisch noted for hw_ptr_removal in "cleanup & merge hw_ptr
      update functions" commit:
      
      "It is possible for the status/delay ioctls to be called when the sound
      card's pointer register alreay shows a position at the beginning of the
      new period, but immediately before the interrupt is actually executed.
      (This happens regularly on a SMP machine with mplayer.)  When that
      happens, the code thinks that the position must be at least one period
      ahead of the current position and drops an entire buffer of data."
      
      Return back the hw_ptr_interrupt variable. The last interrupt pointer
      is always computed from the latest hw_ptr instead of tracking it
      separately (in this case all hw_ptr checks and modifications might
      influence also hw_ptr_interrupt and it is difficult to keep it
      consistent).
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      e7636925
  20. 25 1月, 2010 2 次提交
  21. 21 1月, 2010 2 次提交
    • M
      ASoC: Support turning off bias when the CODEC is idle · a96ca338
      Mark Brown 提交于
      Currently ASoC always maintains the bias of the CODEC while the system
      is active.  With older mobile CODECs this is required since the outputs
      are referenced to a non-zero voltage and enabling or disabling this
      voltage without audible pops or clicks in the output takes too long to
      do when starting or stopping audio.
      
      As a result of features such as ground referenced outputs and class D
      speaker drivers current generation devices are able to power on and off
      much more quickly without these system level issues so provide a new
      flag idle_bias_off in snd_soc_codec which will cause the core to turn
      off the CODEC bias.  The distinction between STANDBY and OFF is still
      maintained.  This is partly for consistency but also allows for
      potential future extensions such as per-machine overrides or deferring
      the bias removal.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      a96ca338
    • J
      ALSA: pcm_core: Fix wake_up() optimization · c91a988d
      Jaroslav Kysela 提交于
      This change fixes the "ALSA: pcm_lib - optimize wake_up() calls for PCM I/O"
      commit. New sleeping queue is introduced to separate user space and kernel
      space wake_ups. runtime->nowake is renamed to twake (transfer wake).
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      c91a988d
  22. 20 1月, 2010 1 次提交
  23. 19 1月, 2010 1 次提交
  24. 18 1月, 2010 1 次提交
  25. 14 1月, 2010 1 次提交