Commit 454f1419 authored by Harsha Priya's avatar Harsha Priya Committed by Greg Kroah-Hartman

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: default avatarHarsha Priya <priya.harsha@intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7c161d0b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment