X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=sound%2Fpci%2Fhda%2Fhda_codec.c;h=7747d263a21253511a009341d79f42ffc4c9c11a;hp=b0187e7d046eae80533951645188ac577a80f47e;hb=9333d5f483413b822798b77f32d2473ad454a059;hpb=c5b769c09e752469a2342105e882be3bad04134c diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index b0187e7d046e..7747d263a212 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -2771,7 +2771,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)