提交 454f1419 编写于 作者: H Harsha Priya 提交者: 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: NHarsha Priya <priya.harsha@intel.com>
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册