[ALSA] hda_intel prefer 24bit instead of 20bit
authorNicolas Graziano <nicolas.graziano@wanadoo.fr>
Tue, 19 Sep 2006 12:23:14 +0000 (14:23 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:47:33 +0000 (10:47 +0200)
commit33ef765131bcf82bc5fca3f25d8313fa4df93ce0
tree0962faa8831af98a9b381b12345e3b5d83e0d691
parenta922625126cc9bf593d801879a965b9f0eae6958
[ALSA] hda_intel prefer 24bit instead of 20bit

If I understand the hda_intel code, for format > 20bit it only advertise
the SNDRV_PCM_FMTBIT_S32_LE format and play it at 32 bit, 20 bit or 24 bit.
But if the 20bit and 24bit are available, actually it prefer the 20bit
format. This path is to prefer the 24bit format instead of 20bit.

Signed-off-by: Nicolas Graziano <nicolas.graziano@wanadoo.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c