diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-03-22 14:53:25 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-03-22 14:53:25 +0100 |
commit | 10d7410790afd0d8bbe0bce72d82ccc7474df4ff (patch) | |
tree | d9a7213f5a5996312933044be06b3d9ae7ce3dcf /sound/pci/hda/hda_codec.c | |
parent | f390dad4d8892114cdbc8f078563cef7687720fb (diff) | |
parent | 55a63d4da3b8850480a1c5b222f77c739e30e346 (diff) |
Merge branch 'for-linus' into for-next
Merge back for-linus branch for the badness table adjustment for VIA codecs
* for-linus:
ALSA: hda - Fix DAC assignment for independent HP
ALSA: hda - Fix abuse of snd_hda_lock_devices() for DSP loader
ALSA: hda - Fix typo in checking IEC958 emphasis bit
ALSA: snd-usb: mixer: ignore -EINVAL in snd_usb_mixer_controls()
ALSA: snd-usb: mixer: propagate errors up the call chain
ALSA: usb: Parse UAC2 extension unit like for UAC1
ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 5868c61797b..17286b3c766 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -3141,7 +3141,7 @@ static unsigned int convert_to_spdif_status(unsigned short val) if (val & AC_DIG1_PROFESSIONAL) sbits |= IEC958_AES0_PROFESSIONAL; if (sbits & IEC958_AES0_PROFESSIONAL) { - if (sbits & AC_DIG1_EMPHASIS) + if (val & AC_DIG1_EMPHASIS) sbits |= IEC958_AES0_PRO_EMPHASIS_5015; } else { if (val & AC_DIG1_EMPHASIS) |