intel_sst: set default output and input device
authorLu Guanqun <guanqun.lu@intel.com>
Tue, 3 May 2011 16:38:04 +0000 (17:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 19:59:01 +0000 (12:59 -0700)
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>
drivers/staging/intel_sst/intelmid_v2_control.c

index b5fb22ca7f6429d41d639287f1b5545f0cfa784b..0963ee7082363c395f25ccafb2106a6d61c7e3b9 100644 (file)
@@ -1066,6 +1066,8 @@ static int nc_jack_enable(void)
 }
 
 struct snd_pmic_ops snd_pmic_ops_nc = {
+       .input_dev_id   =       DMIC,
+       .output_dev_id  =       INTERNAL_SPKR,
        .set_input_dev  =       nc_set_selected_input_dev,
        .set_output_dev =       nc_set_selected_output_dev,
        .set_mute       =       nc_set_mute,