asoc: AIC3262: Enable headset mic
Vijay Mali [Thu, 14 Feb 2013 06:54:07 +0000 (11:54 +0530)]
Fix no upstream audio in voice call.

For bug 1236029

Change-Id: Ifeef0c03ab12c851e1f148ef9ffc5311e7eecea6
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/200700
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

sound/soc/tegra/tegra_aic326x.c

index dabe897..50631cb 100644 (file)
@@ -943,7 +943,11 @@ static int aic326x_headset_switch_notify(struct notifier_block *self,
 
        switch (action) {
        case SND_JACK_HEADPHONE:
-               state |= BIT_HEADSET_NO_MIC;
+       /*
+        * FIX ME: For now force headset mic mode
+        * Known HW issue Mic detection is not working
+        */
+               state |= BIT_HEADSET;
                break;
        case SND_JACK_HEADSET:
                state |= BIT_HEADSET;