Commits
Zidan Wang committed 5d4d1bae307
MLK-12057 ASoC: imx-wm8960: add headphone/micphone/headset jack support Add headphone/micphone/headset jack support for different board. There are headphone detect gpio and microphone detect gpio which can be configured from device tree. If headphone and microphone using the same gpio for jack detect, it suppose to be a headset and will register a headphone jack for it. If headphone and microphone using different gpio for jack detect, it suppose not to be a headset, and will register headphone jack and microphone jack respectively. Is't not appropriate to set the adc data output in machine driver. It will not be compatibly when we change hardware connection. wm8960 codec driver has added "ADC Data Output Select" kcontrol, so that we can set the ADC data output from user space. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> (cherry picked from commit 92f65b4bee51fabdfa3a3c191f511c2ec7cb18a1)