From: Mark Brown Date: Fri, 22 Feb 2013 18:36:53 +0000 (+0000) Subject: ASoC: arizona: Fix interaction between headphone outputs and identification X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~139^2~64^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f607e31ce3963327f749b56c65dfec2642aa623c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed