diff options
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 8c440fb98603..d8622951c3d3 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -1262,13 +1262,13 @@ static int vaio_master_sw_put(struct snd_kcontrol *kcontrol, | |||
1262 | int change; | 1262 | int change; |
1263 | 1263 | ||
1264 | change = snd_hda_codec_amp_update(codec, 0x02, 0, HDA_OUTPUT, 0, | 1264 | change = snd_hda_codec_amp_update(codec, 0x02, 0, HDA_OUTPUT, 0, |
1265 | 0x80, valp[0] & 0x80); | 1265 | 0x80, (valp[0] ? 0 : 0x80)); |
1266 | change |= snd_hda_codec_amp_update(codec, 0x02, 1, HDA_OUTPUT, 0, | 1266 | change |= snd_hda_codec_amp_update(codec, 0x02, 1, HDA_OUTPUT, 0, |
1267 | 0x80, valp[1] & 0x80); | 1267 | 0x80, (valp[1] ? 0 : 0x80)); |
1268 | snd_hda_codec_amp_update(codec, 0x05, 0, HDA_OUTPUT, 0, | 1268 | snd_hda_codec_amp_update(codec, 0x05, 0, HDA_OUTPUT, 0, |
1269 | 0x80, valp[0] & 0x80); | 1269 | 0x80, (valp[0] ? 0 : 0x80)); |
1270 | snd_hda_codec_amp_update(codec, 0x05, 1, HDA_OUTPUT, 0, | 1270 | snd_hda_codec_amp_update(codec, 0x05, 1, HDA_OUTPUT, 0, |
1271 | 0x80, valp[1] & 0x80); | 1271 | 0x80, (valp[1] ? 0 : 0x80)); |
1272 | return change; | 1272 | return change; |
1273 | } | 1273 | } |
1274 | 1274 | ||