diff options
author | Lu Guanqun <guanqun.lu@intel.com> | 2011-05-03 17:33:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-10 12:58:27 -0700 |
commit | 26d3b2d97300735c53ae2ad0f646e3db79eda45f (patch) | |
tree | 3c2f860f97ef29456b4aa57c01209cfc2b58c98f /drivers/staging/intel_sst | |
parent | 9d9bb3c3fbe1376320fdde0d5b2d2e2b6d6c8d56 (diff) | |
download | linux-26d3b2d97300735c53ae2ad0f646e3db79eda45f.tar.gz linux-26d3b2d97300735c53ae2ad0f646e3db79eda45f.tar.bz2 linux-26d3b2d97300735c53ae2ad0f646e3db79eda45f.zip |
intel_sst: Enable recording via DMIC
We may need to make some of this board specific eventually
Signed-off-by: Lu Guanqun <guanqun.lu@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/intel_sst')
-rw-r--r-- | drivers/staging/intel_sst/intelmid_v2_control.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c b/drivers/staging/intel_sst/intelmid_v2_control.c index 9f8ccea83ca9..f168c95067dc 100644 --- a/drivers/staging/intel_sst/intelmid_v2_control.c +++ b/drivers/staging/intel_sst/intelmid_v2_control.c @@ -880,12 +880,12 @@ static int nc_set_selected_input_dev(u8 value) sc_access[2].reg_addr = 0x10a; sc_access[2].value = 0x40; sc_access[2].mask = MASK6; - sc_access[3].reg_addr = 0x109; + sc_access[3].reg_addr = LILSEL; sc_access[3].mask = MASK6; sc_access[3].value = 0x00; - sc_access[4].reg_addr = 0x104; - sc_access[4].value = 0x3C; - sc_access[4].mask = 0xff; + sc_access[4].reg_addr = ADCSAMPLERATE; + sc_access[4].mask = MASK7|MASK6|MASK5|MASK4|MASK3; + sc_access[4].value = 0x33; num_val = 5; break; default: |