media: em28xx-audio: use GFP_KERNEL for memory allocation during init
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 20 Jun 2018 11:00:45 +0000 (07:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Sep 2018 12:00:36 +0000 (08:00 -0400)
commitfc8af4fb3ebf705e9e37fb8e80f5de985c10bb11
tree8dc9e82ef2395c15bcc4a36172db5447d6490cad
parent3dae3c96a5a893f94f127dd4d5f58697bd234d1b
media: em28xx-audio: use GFP_KERNEL for memory allocation during init

As far as I can tell em28xx_audio_urb_init() is called once during
initialization from non atomic context. Memory allocation from
non atomic context should use GFP_KERNEL to avoid using emergency pool
for memory allocation.
Use GFP_KERNEL for memory allocation.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/em28xx/em28xx-audio.c