aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorPaul Vojta <vojta@math.berkeley.edu>2009-07-08 23:57:46 -0700
committerTakashi Iwai <tiwai@suse.de>2009-07-09 09:14:29 +0200
commit369693dc93533097c0ca7243affb4f3244c336e8 (patch)
tree87450e074cdc85babc8665077b416bc3d560b6ef /sound/pci/hda/patch_realtek.c
parent508f711090e06477081fd94cb9298b1b14dda9ff (diff)
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 <vojta@math.berkeley.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions