diff options
| -rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 6 | ||||
| -rw-r--r-- | sound/soc/codecs/cs42l73.c | 16 | ||||
| -rw-r--r-- | sound/soc/codecs/wm8994.c | 2 | 
3 files changed, 12 insertions, 12 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 4742cac26aa..2cb1e08f962 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -4415,9 +4415,9 @@ static int stac92xx_init(struct hda_codec *codec)  		def_conf = get_defcfg_connect(def_conf);  		/* skip any ports that don't have jacks since presence   		 * detection is useless */ -		if (def_conf != AC_JACK_PORT_COMPLEX) { -			if (def_conf != AC_JACK_PORT_NONE) -				stac_toggle_power_map(codec, nid, 1); +		if (def_conf != AC_JACK_PORT_NONE && +		    !is_jack_detectable(codec, nid)) { +			stac_toggle_power_map(codec, nid, 1);  			continue;  		}  		if (enable_pin_detect(codec, nid, STAC_PWR_EVENT)) { diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c index 5a537b7713a..e0d45fdaa75 100644 --- a/sound/soc/codecs/cs42l73.c +++ b/sound/soc/codecs/cs42l73.c @@ -565,22 +565,22 @@ static const struct snd_kcontrol_new cs42l73_snd_controls[] = {  			attn_tlv),  	SOC_SINGLE_TLV("SPK-IP Mono Volume", -			CS42L73_SPKMIPMA, 0, 0x3E, 1, attn_tlv), +			CS42L73_SPKMIPMA, 0, 0x3F, 1, attn_tlv),  	SOC_SINGLE_TLV("SPK-XSP Mono Volume", -			CS42L73_SPKMXSPA, 0, 0x3E, 1, attn_tlv), +			CS42L73_SPKMXSPA, 0, 0x3F, 1, attn_tlv),  	SOC_SINGLE_TLV("SPK-ASP Mono Volume", -			CS42L73_SPKMASPA, 0, 0x3E, 1, attn_tlv), +			CS42L73_SPKMASPA, 0, 0x3F, 1, attn_tlv),  	SOC_SINGLE_TLV("SPK-VSP Mono Volume", -			CS42L73_SPKMVSPMA, 0, 0x3E, 1, attn_tlv), +			CS42L73_SPKMVSPMA, 0, 0x3F, 1, attn_tlv),  	SOC_SINGLE_TLV("ESL-IP Mono Volume", -			CS42L73_ESLMIPMA, 0, 0x3E, 1, attn_tlv), +			CS42L73_ESLMIPMA, 0, 0x3F, 1, attn_tlv),  	SOC_SINGLE_TLV("ESL-XSP Mono Volume", -			CS42L73_ESLMXSPA, 0, 0x3E, 1, attn_tlv), +			CS42L73_ESLMXSPA, 0, 0x3F, 1, attn_tlv),  	SOC_SINGLE_TLV("ESL-ASP Mono Volume", -			CS42L73_ESLMASPA, 0, 0x3E, 1, attn_tlv), +			CS42L73_ESLMASPA, 0, 0x3F, 1, attn_tlv),  	SOC_SINGLE_TLV("ESL-VSP Mono Volume", -			CS42L73_ESLMVSPMA, 0, 0x3E, 1, attn_tlv), +			CS42L73_ESLMVSPMA, 0, 0x3F, 1, attn_tlv),  	SOC_ENUM("IP Digital Swap/Mono Select", ip_swap_enum), diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 2f9870aa0cf..993639d694c 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -1127,7 +1127,7 @@ static int aif2clk_ev(struct snd_soc_dapm_widget *w,  		snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_5,  				    WM8994_AIF2DACL_ENA |  				    WM8994_AIF2DACR_ENA, 0); -		snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_5, +		snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_4,  				    WM8994_AIF2ADCL_ENA |  				    WM8994_AIF2ADCR_ENA, 0);  |