ALSA: hda - Fix max amp cap calculation for IDT/STAC codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Jul 2010 15:00:15 +0000 (17:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Jul 2010 15:00:15 +0000 (17:00 +0200)
commit7ccc3eface57b6e1773fce009dac8a3da081b8b1
treefd841d80ec28e6d0d7ad4fadb8a5a26f4f569e76
parent2385b789f1525542396d8f6b0cc37c1eb2493b4c
ALSA: hda - Fix max amp cap calculation for IDT/STAC codecs

The commit afbd9b8448f4b7d15673c6858012f384f18d28b8
    ALSA: hda - Limit the amp value to write
introduced a regression for codec setups with amp offsets like IDT/STAC
codecs.  The limit value should be a raw value without offset calculation.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c