From: Paul Vojta Date: Thu, 9 Jul 2009 06:57:46 +0000 (-0700) Subject: ALSA: hda - fix beep tone calculation for IDT/STAC codecs X-Git-Tag: v2.6.31-rc3~16^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=369693dc93533097c0ca7243affb4f3244c336e8;p=pandora-kernel.git ALSA: hda - fix beep tone calculation for IDT/STAC codecs In the beep tone calculation for IDT/STAC codecs, lower numbers correspond to higher frequencies and vice versa. The current code has this backwards, resulting in beep frequencies which are way too high (and sound bad on tinny laptop speakers, resulting in complaints). [Also added hz <= 0 check by tiwai] Signed-off-by: Paul Vojta Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed