mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
7c161d0b90
commit
454f1419f1
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue