From: Takashi Iwai Date: Tue, 19 May 2009 10:50:04 +0000 (+0200) Subject: ALSA: hda - Fix digital beep tone calculation X-Git-Tag: v2.6.31-rc1~363^2~20^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa7979663190240b838ab8c8bad7f59e618bf77c;p=pandora-kernel.git ALSA: hda - Fix digital beep tone calculation The digital beep tone is calculated in two different ways depending on the codec chip. The standard one is using a divider, and another one is a linear tone for IDT/STAC codecs. Currently, only the latter type is used for all codecs, which resulted in a wrong tone pitch. This patch adds the calculation of the standard HD-audio type. Also clean-up the fields in hda_beep struct. Reference: bko#13162 http://bugzilla.kernel.org/show_bug.cgi?id=13162 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed