1. 23 3月, 2010 1 次提交
  2. 13 11月, 2009 1 次提交
  3. 19 10月, 2009 1 次提交
  4. 01 8月, 2009 1 次提交
  5. 24 7月, 2009 1 次提交
    • J
      ASoC: Jack handling enhancements as suggested by subsystem maintainer · 178b699c
      Janusz Krzysztofik 提交于
      The patch adds a few small enhancements to the ASoC jack handling, as
      suggested by Mark in his comments to my Amstrad Delta driver, and a few fixes
      for related bugs found while learning Mark's code and testing results.
      
      Enhancements:
      1. Update status of an ASoC jack while associating it with new gpios.
      2. Really update DAPM pins while associating them with an ASoC jack.
      3. Export ASoC jack gpios over gpiolib sysfs for diagnostic purposes.
      
      Fixes:
      1. Apply mask on jack status report before using it, just for case.
      2. While updating jack associated DAPM pins, use full resulting jack status,
         not the status report passed as an argument.
      
      Created and tested on linux-2.6.31-rc3
      Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      178b699c
  6. 06 3月, 2009 1 次提交
  7. 04 3月, 2009 1 次提交
    • L
      ASoC: Add GPIO support for jack reporting interface · ec67624d
      Lopez Cruz, Misael 提交于
      Add GPIO support to jack reporting framework in ASoC using gpiolib calls.
      The gpio support exports two new functions: snd_soc_jack_add_gpios and
      snd_soc_jack_free_gpios.
      
      Client drivers using gpio feature must pass an array of jack_gpio pins
      belonging to a specific jack to the snd_soc_jack_add_gpios function. The
      framework will request the gpios, set the data direction and request irq.
      The framework will update power status of related jack_pins when an event on
      the gpio pins comes according to the reporting bits defined for each gpio.
      
      All gpio resources allocated when adding jack_gpio pins can be released
      using snd_soc_jack_free_gpios function.
      Signed-off-by: NMisael Lopez Cruz <x0052729@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      ec67624d
  8. 27 1月, 2009 1 次提交
  9. 09 1月, 2009 1 次提交
    • M
      ASoC: Add jack reporting interface · 8a2cd618
      Mark Brown 提交于
      This patch adds a jack reporting interface to ASoC.  This wraps the ALSA
      core jack detection functionality and provides integration with DAPM to
      automatically update the power state of pins based on the jack state.
      
      Since embedded platforms can have multiple detecton methods used for a
      single jack (eg, separate microphone and headphone detection) the report
      function allows specification of which bits are being updated on a given
      report.
      
      The expected usage is that machine drivers will create jack objects and
      then configure jack detection methods to update that jack.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      8a2cd618