1. 03 12月, 2012 2 次提交
    • M
      ASoC: wm8994: Simplify button detection code · 78b76dbe
      Mark Brown 提交于
      Currently the WM8994 driver allows the WM8958 microphone detection code to
      be replaced in its entirety, providing a default implementation. This
      doesn't actually reflect the needs of users well. They generally wish to
      replace only the accessory identification parts of the algorithm (eg,
      using an external GPIO to provide the equivalent of the JACKDET support in
      the WM1811A).
      
      In preparation for supporting these users better refactor the existing code
      so that we have separate identification and button detection callbacks,
      selecting between them rather than using the mic_detecting flag in the
      existing callback. This also simplifies the code by introducing a more
      explicit state machine for the detecting and button states.
      
      In anticipation of future refactoring the callback is left in the signature
      for wm8958_mic_detect(), it will be removed at a later stage.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      78b76dbe
    • M
      ASoC: wm8994: Stop mic detection whenever we detect an open circuit · f02b0de0
      Mark Brown 提交于
      Jack detection will not do anything to help us detect a microphone when
      there is a fault in the cable and the debounce we have is enough to avoid
      getting an intermediate result so halt microphone detection when we detect
      that one is not present.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      f02b0de0
  2. 28 11月, 2012 1 次提交
  3. 23 11月, 2012 1 次提交
  4. 22 11月, 2012 1 次提交
  5. 24 10月, 2012 1 次提交
  6. 15 10月, 2012 4 次提交
  7. 06 10月, 2012 1 次提交
  8. 28 9月, 2012 4 次提交
  9. 27 9月, 2012 5 次提交
  10. 26 9月, 2012 6 次提交
  11. 25 9月, 2012 1 次提交
  12. 23 9月, 2012 2 次提交
  13. 22 9月, 2012 7 次提交
  14. 21 9月, 2012 1 次提交
  15. 20 9月, 2012 1 次提交
  16. 19 9月, 2012 2 次提交