]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic3x: headset/button press support
authorDaniel Mack <daniel@caiaq.org>
Wed, 3 Dec 2008 10:44:17 +0000 (11:44 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Dec 2008 12:40:45 +0000 (12:40 +0000)
commit04bb022c21b9df11d553206127c2df91cb1ab43e
treee0a981c23de2e36e4dd44c7b93db7d962228588e
parent9a18bbfa22e74605abc4081b3976ef237900e094
ASoC: tlv320aic3x: headset/button press support

- Add aic3x_set_headset_detection() function to define the headset
  detection mode for tlv32aic3x chips
- added aic3x_button_pressed()
- Read from the real-time registers in aic3x_headset_detected() to query
  headset presence without an occured interrupt

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/tlv320aic3x.h