From 5cda9b88e86e914db6936ac12358d5effe5c0564 Mon Sep 17 00:00:00 2001 From: Nicolas Graziano Date: Tue, 19 Sep 2006 14:23:14 +0200 Subject: [PATCH] --- yaml --- r: 34955 b: refs/heads/master c: 33ef765131bcf82bc5fca3f25d8313fa4df93ce0 h: refs/heads/master i: 34953: 9b8eac6656a67d3cbed00665dc641d34a548140c 34951: c531bf3ad3bb4e50d5d43be149f8f8719639f7d5 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_codec.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 2801c741d238..d000c22de28c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a922625126cc9bf593d801879a965b9f0eae6958 +refs/heads/master: 33ef765131bcf82bc5fca3f25d8313fa4df93ce0 diff --git a/trunk/sound/pci/hda/hda_codec.c b/trunk/sound/pci/hda/hda_codec.c index e69db04b7eb8..8b2c080c85ae 100644 --- a/trunk/sound/pci/hda/hda_codec.c +++ b/trunk/sound/pci/hda/hda_codec.c @@ -1505,10 +1505,10 @@ int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, formats |= SNDRV_PCM_FMTBIT_S32_LE; if (val & AC_SUPPCM_BITS_32) bps = 32; - else if (val & AC_SUPPCM_BITS_20) - bps = 20; else if (val & AC_SUPPCM_BITS_24) bps = 24; + else if (val & AC_SUPPCM_BITS_20) + bps = 20; } } else if (streams == AC_SUPFMT_FLOAT32) { /* should be exclusive */