]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:46:54 +0000 (12:46 +0100)
commitac66f92267ad3467d46e8a3cf66cb15a46e91d67
tree39d496c6a9413cb73a9b0348ffda74611a188004
parentba7a42dfd5c4673577ffbbd2167314ee5f382dbd
media: lmedm04: Use GFP_KERNEL for URB allocation/submission.

[ Upstream commit add5861769f912af0181f5fbd79dbf19c8211c20 ]

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>
Stable-dep-of: a2836d3fe220 ("media: lmedm04: Handle errors for lme2510_int_read")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/usb/dvb-usb-v2/lmedm04.c