extcon: arizona: Don't HPDET magic when headphones are enabled
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Feb 2013 15:47:40 +0000 (15:47 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Feb 2013 16:06:22 +0000 (16:06 +0000)
commit903aa56fdf930fd17fc4f35610bb1c818b5a9327
treef594357b2e234b75076c85cd8d30db0579220d99
parent0e27bd3137778ac9e856fec99b1752bf054a987c
extcon: arizona: Don't HPDET magic when headphones are enabled

The magic is already done as part of enabling the headphone output so
does not need to be done when the headphone outputs are enabled. We hold
the DAPM lock so the headphone status can't be changed underneath us.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/extcon/extcon-arizona.c