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)
commitb0bb3aa6233dccfccd040793d0d9ce838e4890e1
treefcdb8af4b9fe4742d5387f46d5285fb41576976a
parente488fca79fd0e864e993745ebda99e93dffebda8
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