linux_dsm_epyc7002/drivers/media
Dan Carpenter 5091f2738d media: au0828: fix a NULL vs IS_ERR() check
[ Upstream commit 8f2e452730d2bcd59fe05246f0e19a4c52e0012d ]

The media_device_usb_allocate() function returns error pointers when
it's enabled and something goes wrong.  It can return NULL as well, but
only if CONFIG_MEDIA_CONTROLLER is disabled so that doesn't apply here.

Fixes: 812658d88d ("media: change au0828 to use Media Device Allocator API")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:05 +02:00
..
cec media: s5p_cec: decrement usage count if disabled 2021-07-14 16:56:02 +02:00
common media: siano: fix device register error path 2021-07-14 16:55:54 +02:00
dvb-core media: dvb_net: avoid speculation from net slot 2021-07-14 16:55:54 +02:00
dvb-frontends media: dvb: Add check on sp8870_readreg return 2021-06-03 09:00:42 +02:00
firewire
i2c media: rc: i2c: Fix an error message 2021-07-14 16:56:04 +02:00
mc media: Fix Media Controller API config checks 2021-07-14 16:55:56 +02:00
mmc
pci media: bt8xx: Fix a missing check bug in bt878_probe 2021-07-14 16:55:53 +02:00
platform media: exynos4-is: Fix a use after free in isp_video_release 2021-07-14 16:56:05 +02:00
radio
rc media: ite-cir: check for receive overflow 2021-05-11 14:47:24 +02:00
spi
test-drivers media: vivid: fix assignment of dev->fbuf_out_flags 2021-05-14 09:50:22 +02:00
tuners media: m88rs6000t: avoid potential out-of-bounds reads on arrays 2021-05-14 09:50:23 +02:00
usb media: au0828: fix a NULL vs IS_ERR() check 2021-07-14 16:56:05 +02:00
v4l2-core media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release 2021-07-14 16:55:53 +02:00
Kconfig
Makefile