]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Don't override maxbps for FLOAT sharing with linear formats
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jul 2009 21:25:37 +0000 (23:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jul 2009 21:25:37 +0000 (23:25 +0200)
commitceac7b0418a061883ec6963cb4c5af4638301222
treefcdb8af4b9fe4742d5387f46d5285fb41576976a
parente146789379e9d5bc1edddd1f5c6465d447283852
ALSA: hda - Don't override maxbps for FLOAT sharing with linear formats

When FLOAT PCM format is available but together with other linear
PCM formats, don't override maxbps value.  For FLOAT format, it's always
32, thus it can be better checked in snd_hda_calc_stream_format().
Otherwise the maxbps 32 might be used wrongly even if the linear PCM
doesn't support it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c