]> git.baikalelectronics.ru Git - kernel.git/commit
media: lmedm04: Use GFP_KERNEL for URB allocation/submission.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 3 Oct 2020 09:32:43 +0000 (11:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 07:29:22 +0000 (08:29 +0100)
commit3f40e1a211b404bd98a416b9d60e4547d35d5208
treed7dac3ee4c74167b716b048d1523e68e2bdf3c33
parentbf6c27f7398747c5c5d3170c9b22aed8f6817033
media: lmedm04: Use GFP_KERNEL for URB allocation/submission.

lme2510_int_read is not atomically called so use GFP_KERNEL for
usb_alloc_urb and usb_submit_urb which is the first in the chain
of interrupt submissions.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/dvb-usb-v2/lmedm04.c