]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ALSA: hda - Disable FLOAT format support
authorTakashi Iwai <tiwai@suse.de>
Sat, 12 May 2012 07:38:05 +0000 (09:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 May 2012 07:38:05 +0000 (09:38 +0200)
It turned out that the FLOAT format on CS4206 results in simple
noises, which implies that this is no right format as is.
Since CS4206 is the only codec supporting the float, let's disable it
until we find the correct format.

Reported-and-tested-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c

index 7a621f5986e028be97d5e20749905de1130d6f4d..c556fe1c25eb8676f4dc14e841cbca8111766e09 100644 (file)
@@ -3842,11 +3842,13 @@ int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid,
                                        bps = 20;
                        }
                }
+#if 0 /* FIXME: CS4206 doesn't work, which is the only codec supporting float */
                if (streams & AC_SUPFMT_FLOAT32) {
                        formats |= SNDRV_PCM_FMTBIT_FLOAT_LE;
                        if (!bps)
                                bps = 32;
                }
+#endif
                if (streams == AC_SUPFMT_AC3) {
                        /* should be exclusive */
                        /* temporary hack: we have still no proper support