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

ALSA: cmipci: Allocate with GFP_KERNEL instead of GFP_ATOMIC



save_mixer_state() is called in a sleepable context, so it's safe to
allocate with GFP_KERNEL instead of the current GFP_ATOMIC.  The
GFP_ATOMIC usage must have been based on an incorrect assumption in
the very old code base.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1fa350b6
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