diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-27 07:08:39 -0700 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-27 07:08:39 -0700 | 
| commit | 9db48aaf18d675ac41f550c9384154e0c00de2ef (patch) | |
| tree | 70a19b9164c103e5f52dddff609e01672f8ef616 /sound/pci/hda/patch_sigmatel.c | |
| parent | 0592969e73ae50ce6852d1aff3d222a335289094 (diff) | |
| parent | fea7a08acb13524b47711625eebea40a0ede69a0 (diff) | |
| download | olio-linux-3.10-9db48aaf18d675ac41f550c9384154e0c00de2ef.tar.xz olio-linux-3.10-9db48aaf18d675ac41f550c9384154e0c00de2ef.zip  | |
Merge 3.6-rc3 into driver-core-next
This picks up the printk fixes in 3.6-rc3 that are needed in this branch.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
| -rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 94040ccf8e8..ea5775a1a7d 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -4272,7 +4272,8 @@ static int stac92xx_init(struct hda_codec *codec)  	unsigned int gpio;  	int i; -	snd_hda_sequence_write(codec, spec->init); +	if (spec->init) +		snd_hda_sequence_write(codec, spec->init);  	/* power down adcs initially */  	if (spec->powerdown_adcs) @@ -5748,7 +5749,6 @@ again:  		/* fallthru */  	case 0x111d76b4: /* 6 Port without Analog Mixer */  	case 0x111d76b5: -		spec->init = stac92hd71bxx_core_init;  		codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;  		spec->num_dmics = stac92xx_connected_ports(codec,  					stac92hd71bxx_dmic_nids, @@ -5773,7 +5773,6 @@ again:  			spec->stream_delay = 40; /* 40 milliseconds */  		/* disable VSW */ -		spec->init = stac92hd71bxx_core_init;  		unmute_init++;  		snd_hda_codec_set_pincfg(codec, 0x0f, 0x40f000f0);  		snd_hda_codec_set_pincfg(codec, 0x19, 0x40f000f3); @@ -5788,7 +5787,6 @@ again:  		/* fallthru */  	default: -		spec->init = stac92hd71bxx_core_init;  		codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;  		spec->num_dmics = stac92xx_connected_ports(codec,  					stac92hd71bxx_dmic_nids, @@ -5796,6 +5794,9 @@ again:  		break;  	} +	if (get_wcaps_type(get_wcaps(codec, 0x28)) == AC_WID_VOL_KNB) +		spec->init = stac92hd71bxx_core_init; +  	if (get_wcaps(codec, 0xa) & AC_WCAP_IN_AMP)  		snd_hda_sequence_write_cache(codec, unmute_init);  |