]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30a13101d3ef77114debebc5bd82c78f3e11d06c
tree9dab722a3609137df32c28938cd5c4ba0beae572
parent20daf874c10237cad110ec4c6898aaa3832cf179
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