ASoC: Declare Headset as Mic and Headphone widgets for SDP3430
authorLopez Cruz, Misael <x0052729@ti.com>
Thu, 19 Mar 2009 06:07:34 +0000 (01:07 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 19 Mar 2009 11:56:16 +0000 (11:56 +0000)
commit632087748c3795a54d5631e640df65592774e045
tree9012485098b8f69b09b450ddcbdd5f3852e2857f
parentf8d5fc924b1bec95f47b0a9e8f9a6e22fa1c7b05
ASoC: Declare Headset as Mic and Headphone widgets for SDP3430

Headset was declared previously as a Headphone widget connecting
HSMIC and HSOL/HSOR pins of TWL4030 codec in SDP430 machine driver.
The capture path becomes invalid as the Headphone widget is not a
valid input endpoint.

Instead of that, the Headset is declared as separate Microphone
and Headphone widgets. Current patch modifies audio map:

- Headset Mic: HSMIC with bias
- Headset Stereophone: HSOL, HSOR

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/sdp3430.c