diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2009-07-24 02:48:57 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-07-24 11:28:59 +0100 |
commit | 178b699c25c39f042c3c2446e6bd5dbed18c0442 (patch) | |
tree | 391fd9b7bac12ca4255f5829252197fb3fbf1071 /sound/drivers/mts64.c | |
parent | 474828a40f6ddab6e2a3475a19c5c84aa3ec7d60 (diff) |
ASoC: Jack handling enhancements as suggested by subsystem maintainer
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: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/drivers/mts64.c')
0 files changed, 0 insertions, 0 deletions