ALSA: hda - Fix possible zero-division
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Nov 2013 14:44:09 +0000 (15:44 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 06:47:52 +0000 (07:47 +0100)
Check the TLV db scale result before actually dividing in vmaster
slave init code.  Also mask TLV_DB_SCALE_MUTE bit so that the right
value is obtained even if this bit is set by the codec driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found