diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-22 19:36:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-26 16:45:25 +0100 |
commit | f607e31ce3963327f749b56c65dfec2642aa623c (patch) | |
tree | 162bbbdde8a4b108dd9399f244da51c207bdebd6 /drivers/extcon/extcon-arizona.c | |
parent | extcon: arizona: Factor out magic application (diff) | |
download | linux-f607e31ce3963327f749b56c65dfec2642aa623c.tar.xz linux-f607e31ce3963327f749b56c65dfec2642aa623c.zip |
ASoC: arizona: Fix interaction between headphone outputs and identification
Running HPDET while the headphone outputs are enabled can disrupt the
operation of HPDET. In order to avoid this HPDET needs to disable the
headphone outputs and ASoC needs to not enable them while HPDET is
running.
Do the ASoC side of this by storing the enable state in the core driver
structure and only writing to the device if a flag indicating that the
accessory detection side is in a state where it can have the headphone
output stage enabled.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/extcon/extcon-arizona.c')
0 files changed, 0 insertions, 0 deletions