extcon: arizona: Fix interaction between headphone outputs and identification
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 22 Feb 2013 18:38:03 +0000 (18:38 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Mar 2013 15:45:26 +0000 (15:45 +0000)
commitdf8c3dbee9e6f19ddb0ae8e05cdf76eb2d3b7f00
treea2a434ff045668a9be5f23a36e24a096796a0965
parentf607e31ce3963327f749b56c65dfec2642aa623c
extcon: 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.

For extcon instead of checking if the headphone output is enabled when
doing magic application unconditionally disable the output and restore
the state which ASoC wants set when undoing the magic.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/extcon/extcon-arizona.c
This page took 0.024984 seconds and 5 git commands to generate.