From: Takashi Iwai Date: Tue, 7 Nov 2006 15:09:00 +0000 (+0100) Subject: [ALSA] hda-codec - Fix detection of supported sample rates X-Git-Tag: v2.6.20-rc2~86^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee3527b0362e3b1b2e212d6161869aff9a8a98a0;p=profile%2Fivi%2Fkernel-x86-ivi.git [ALSA] hda-codec - Fix detection of supported sample rates Don't include 9.6kHz in the list of supported sample rates. Since this rate isn't indicated in AC_PAR_PCM parameter, the driver might guess wrongly as if it's available. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 71482c1..18bbc87 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -1367,9 +1367,6 @@ static struct hda_rate_tbl rate_bits[] = { { 176400, SNDRV_PCM_RATE_176400, 0x5800 },/* 4 x 44 */ { 192000, SNDRV_PCM_RATE_192000, 0x1800 }, /* 4 x 48 */ - /* not autodetected value */ - { 9600, SNDRV_PCM_RATE_KNOT, 0x0400 }, /* 1/5 x 48 */ - { 0 } /* terminator */ };