summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorHarsha Priya <priya.harsha@intel.com>2011-01-25 14:29:20 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-02 15:06:14 -0800
commit454f1419f14a459b31af83e512adcc714fa0e5e5 (patch)
treeda805bd46b71f01a2d77e57867b0933021f8b1e1 /drivers/staging
parent7c161d0b900ea9bd9fc5ea5d3fa9916e9eb0dd88 (diff)
staging: sst: Fix for dmic capture on v2 pmic
currently capture through dmic captures only silence This patch configurs the dmic registers to capture properly Signed-off-by: Harsha Priya <priya.harsha@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/intel_sst/intelmid_v2_control.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c b/drivers/staging/intel_sst/intelmid_v2_control.c
index e38e89df6e8..e2f6d6a3c85 100644
--- a/drivers/staging/intel_sst/intelmid_v2_control.c
+++ b/drivers/staging/intel_sst/intelmid_v2_control.c
@@ -874,7 +874,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;