Files
linux/drivers
Mauro Carvalho Chehab 7dca4428d7 media: m920x: don't use stack on USB reads
[ Upstream commit a2ab06d7c4 ]

Using stack-allocated pointers for USB message data don't work.
This driver is almost OK with that, except for the I2C read
logic.

Fix it by using a temporary read buffer, just like on all other
calls to m920x_read().

Link: https://lore.kernel.org/all/ccc99e48-de4f-045e-0fe4-61e3118e3f74@mida.se/
Reported-by: rkardell@mida.se
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 09:04:25 +01:00
..
2021-07-20 16:15:55 +02:00
2021-11-26 11:35:59 +01:00
2021-01-17 14:04:22 +01:00
2022-01-27 09:04:20 +01:00