media: gspca: sq930x: use GFP_KERNEL in sd_dq_callback()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 20 Jun 2018 11:00:52 +0000 (07:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Sep 2018 12:01:30 +0000 (08:01 -0400)
commit2b89b73a708a2cb6182adcc458203b6df752af7e
tree9dab722a3609137df32c28938cd5c4ba0beae572
parentfc8af4fb3ebf705e9e37fb8e80f5de985c10bb11
media: gspca: sq930x: use GFP_KERNEL in sd_dq_callback()

The context in which sd_dq_callback() is non atomic, there is even
msleep() at the end of the function. There is no need to use GFP_ATOMIC
here - use GFP_KERNEL instead.

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/gspca/sq930x.c