Skip to content
Commit a4e7a121 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix possible zero-division



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: default avatarTakashi Iwai <tiwai@suse.de>
parent 504333df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment