>From e3467a9639a095aee94138f2a1477599a7ee50b9 Mon Sep 17 00:00:00 2001
From: Harsha Priya <[email protected]>
Date: Tue, 7 Dec 2010 17:22:39 +0530
Subject: [PATCH 2/4] sst: Fix for dmic capture on v2 pmic

currently recording through dmic captures only silence

This patch configurs the dmic registers to capture properly

Signed-off-by: Harsha Priya <[email protected]
Signed-off-by: Ramesh Babu K V <[email protected]>
---
 sound/pci/sst/intelmid_v2_control.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/sound/pci/sst/intelmid_v2_control.c 
b/sound/pci/sst/intelmid_v2_control.c
index 3aede20..367f956 100644
--- a/sound/pci/sst/intelmid_v2_control.c
+++ b/sound/pci/sst/intelmid_v2_control.c
@@ -872,7 +872,10 @@ static int nc_set_selected_input_dev(u8 value)
                sc_access[3].reg_addr = 0x109;
                sc_access[3].mask = MASK6;
                sc_access[3].value = 0x00;
-               num_val = 4;
+               sc_access[4].reg_addr = 0x104;
+               sc_access[4].value = 0x3C;
+               sc_access[4].mask = 0xff;
+               num_val = 5;
                break;
        default:
                return -EINVAL;
-- 
1.6.2.5

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to