aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarsha Priya <priya.harsha@intel.com>2010-12-09 10:37:45 +0000
committerAlan Cox <alan@linux.intel.com>2010-12-09 10:37:45 +0000
commit7654819565d67c7f0631ff3da16f8fd24aa5931d (patch)
treeb175df156971694d336e33c7dd3fdf669a5a9a49
parent5d06b97ab272feb860f0bff35d4e0d7ad266bdee (diff)
downloadmrst-s0i3-test-7654819565d67c7f0631ff3da16f8fd24aa5931d.tar.gz
mrst-s0i3-test-7654819565d67c7f0631ff3da16f8fd24aa5931d.tar.xz
mrst-s0i3-test-7654819565d67c7f0631ff3da16f8fd24aa5931d.zip
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>
-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 0ad11eb0918..da0ec5668a3 100644
--- a/drivers/staging/intel_sst/intelmid_v2_control.c
+++ b/drivers/staging/intel_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;