ALSA: hda - Fix max amp cap calculation for IDT/STAC codecs

The commit afbd9b8448
    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>
This commit is contained in:
Takashi Iwai 2010-07-26 17:00:15 +02:00
commit 7ccc3eface