From: Lu Guanqun Date: Tue, 3 May 2011 16:33:43 +0000 (+0100) Subject: intel_sst: Enable recording via HS_MIC X-Git-Tag: v3.0-rc1~336^2~447 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9d9bb3c3fbe1376320fdde0d5b2d2e2b6d6c8d56;p=karo-tx-linux.git intel_sst: Enable recording via HS_MIC We may need to make some of this board specific eventually. Signed-off-by: Lu Guanqun Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c b/drivers/staging/intel_sst/intelmid_v2_control.c index 6516a9854713..9f8ccea83ca9 100644 --- a/drivers/staging/intel_sst/intelmid_v2_control.c +++ b/drivers/staging/intel_sst/intelmid_v2_control.c @@ -863,7 +863,10 @@ static int nc_set_selected_input_dev(u8 value) sc_access[4].reg_addr = AUXDBNC; sc_access[4].mask = MASK7|MASK6|MASK5|MASK4|MASK3|MASK2|MASK1|MASK0; sc_access[4].value = 0xff; - num_val = 5; + sc_access[5].reg_addr = ADCSAMPLERATE; + sc_access[5].mask = MASK7|MASK6|MASK5|MASK4|MASK3; + sc_access[5].value = 0xc8; + num_val = 6; break; case DMIC: