]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: cmipci: Allocate with GFP_KERNEL instead of GFP_ATOMIC
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Apr 2018 20:09:27 +0000 (22:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Apr 2018 12:01:31 +0000 (14:01 +0200)
commiteefc95f009a573261d0b5be773201cba21dc7ec7
treeb7d7d5705e01b8c9cbde21fa8e6c072e18c7f5ae
parenta4cfa8a832da3576cb88cfe58cbc73eeb9260194
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: Takashi Iwai <tiwai@suse.de>
sound/pci/cmipci.c