1. 17 10月, 2010 1 次提交
  2. 07 9月, 2010 1 次提交
  3. 19 8月, 2010 1 次提交
  4. 18 8月, 2010 2 次提交
  5. 15 8月, 2010 1 次提交
  6. 30 7月, 2010 1 次提交
  7. 29 7月, 2010 2 次提交
  8. 19 7月, 2010 1 次提交
  9. 18 7月, 2010 1 次提交
  10. 13 7月, 2010 2 次提交
  11. 28 6月, 2010 1 次提交
    • D
      ALSA: pcm_lib: avoid timing jitter in snd_pcm_read/write() · 5daeba34
      David Dillow 提交于
      When using poll() to wait for the next period -- or avail_min samples --
      one gets a consistent delay for each system call that is usually just a
      little short of the selected period time. However, When using
      snd_pcm_read/write(), one gets a jittery delay that alternates between
      less than a millisecond and approximately two period times. This is
      caused by snd_pcm_lib_{read,write}1() transferring any available samples
      to the user's buffer and adjusting the application pointer prior to
      sleeping to the end of the current period. When the next period
      interrupt occurs, there is then less than avail_min samples remaining to
      be transferred in the period, so we end up sleeping until a second
      period occurs.
      
      This is solved by using runtime->twake as the number of samples needed
      for a wakeup in addition to selecting the proper wait queue to wake in
      snd_pcm_update_state(). This requires twake to be non-zero when used
      by snd_pcm_lib_{read,write}1() even if avail_min is zero.
      Signed-off-by: NDave Dillow <dave@thedillows.org>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      5daeba34
  12. 25 6月, 2010 1 次提交
  13. 31 5月, 2010 2 次提交
  14. 17 5月, 2010 1 次提交
  15. 12 5月, 2010 1 次提交
  16. 11 5月, 2010 2 次提交
    • P
      ASoC: core: Fix for the volume limiting when invert is in use · d11bb4a9
      Peter Ujfalusi 提交于
      If the register for the volume needs invert, than the inversion
      need to be done from the chip maximum, and not from the platform
      dependent limit.
      Introduce soc_mixer_control.platform_max value, which initially
      equals to chip maximum.
      The snd_soc_limit_volume function only modify the platform_max,
      all volsw_info call returns this as well.
      The .max value holds the chip default (maximum), and it is used
      for the inversion, if it is needed.
      
      Additional check in the volsw_info call has been added to check
      the validity of the platform_max in case, when custom macros
      used by codec drivers are not initializing it correctly.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      d11bb4a9
    • M
      PM QOS update · ed77134b
      Mark Gross 提交于
      This patch changes the string based list management to a handle base
      implementation to help with the hot path use of pm-qos, it also renames
      much of the API to use "request" as opposed to "requirement" that was
      used in the initial implementation.  I did this because request more
      accurately represents what it actually does.
      
      Also, I added a string based ABI for users wanting to use a string
      interface.  So if the user writes 0xDDDDDDDD formatted hex it will be
      accepted by the interface.  (someone asked me for it and I don't think
      it hurts anything.)
      
      This patch updates some documentation input I got from Randy.
      Signed-off-by: Nmarkgross <mgross@linux.intel.com>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      ed77134b
  17. 10 5月, 2010 5 次提交
  18. 07 5月, 2010 2 次提交
  19. 06 5月, 2010 2 次提交
  20. 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
  21. 26 4月, 2010 1 次提交
  22. 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
  23. 16 4月, 2010 1 次提交
  24. 13 4月, 2010 1 次提交
  25. 06 4月, 2010 1 次提交
  26. 04 4月, 2010 1 次提交
  27. 23 3月, 2010 1 次提交
  28. 20 3月, 2010 1 次提交
  29. 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