linux-stable/drivers/media
Jiasheng Jiang e935a4dd37 media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
[ Upstream commit 43f0633f89 ]

The return value of dma_set_coherent_mask() is not always 0.
To catch the exception in case that dma is not support the mask.

Link: https://lore.kernel.org/linux-media/20211206022201.1639460-1-jiasheng@iscas.ac.cn
Fixes: b0444f18e0 ("[media] coda: add i.MX6 VDOA driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:03:37 +01:00
..
cec media: cec-pin: fix interrupt en/disable handling 2022-01-27 11:02:56 +01:00
common media: videobuf2: Fix the size printk format 2022-01-27 11:03:07 +01:00
dvb-core media: dmxdev: fix UAF when dvb_register_device() fails 2022-01-27 11:03:14 +01:00
dvb-frontends media: dib8000: Fix a memleak in dib8000_init() 2022-01-27 11:03:29 +01:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-11-06 14:13:30 +01:00
i2c media: i2c: ov8865: Fix lockdep error 2022-01-27 11:03:19 +01:00
mc media: mc-device.c: use DEVICE_ATTR_RO() helper macro 2021-08-04 14:43:50 +02:00
mmc
pci media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach() 2022-01-27 11:03:29 +01:00
platform media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes 2022-01-27 11:03:37 +01:00
radio media: si470x-i2c: fix possible memory leak in si470x_i2c_probe() 2022-01-27 11:03:20 +01:00
rc media: redrat3: fix control-message timeouts 2022-01-27 11:02:55 +01:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-11-18 19:16:27 +01:00
test-drivers media: vidtv: move kfree(dvb) to vidtv_bridge_dev_release() 2021-11-18 19:17:20 +01:00
tuners media: msi001: fix possible null-ptr-deref in msi001_probe() 2022-01-27 11:03:36 +01:00
usb media: dw2102: Fix use after free 2022-01-27 11:03:36 +01:00
v4l2-core media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE 2022-01-27 11:02:54 +01:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile