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

ALSA: vmaster: Zero-clear ctl before calling slave get



Use kzalloc() instead of kmalloc() so that we don't need to rely fully
on the slave get() callback to clear the control value that might be
copied to user-space.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2e2c177c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment