linux-stable/drivers/media/pci
Zhipeng Lu 7393c681f9 media: ttpci: fix two memleaks in budget_av_attach
[ Upstream commit d0b07f712b ]

When saa7146_register_device and saa7146_vv_init fails, budget_av_attach
should free the resources it allocates, like the error-handling of
ttpci_budget_init does. Besides, there are two fixme comment refers to
such deallocations.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:19:53 -04:00
..
b2c2
bt8xx media: bttv: add back vbi hack 2024-01-25 15:35:35 -08:00
cobalt media: cobalt: Use FIELD_GET() to extract Link Width 2023-11-28 17:19:47 +00:00
cx18 media: cx18: remove unnecessary (void*) conversions 2023-07-19 12:57:47 +02:00
cx88
cx23885 media: cx23885: debug cosmetics 2023-08-10 07:58:36 +02:00
cx25821 cx25821: remove unused cx25821_video_wakeup() declaration 2022-10-24 19:03:52 +02:00
ddbridge media: ddbridge: fix an error code problem in ddb_probe 2024-02-05 20:14:28 +00:00
dm1105 media: add HAS_IOPORT dependencies 2023-06-28 11:09:25 +02:00
dt3155
intel media: ivsc: csi: Swap SINK and SOURCE pads 2024-03-26 18:19:51 -04:00
ivtv media: Remove flag FBINFO_FLAG_DEFAULT from fbdev drivers 2023-07-25 09:24:30 +02:00
mantis media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE 2022-11-25 10:04:11 +00:00
netup_unidvb media: netup_unidvb: fix irq init by register it at the end of probe 2023-05-14 06:30:13 +01:00
ngene
pluto2
pt1
pt3 media: pt3: Use dma_set_mask_and_coherent() and simplify code 2022-12-07 17:58:46 +01:00
saa7134 media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
saa7146 media: pci: saa7146: advertise only those TV standard that are supported 2023-04-15 08:56:05 +01:00
saa7164 media: pci: saa7164: replace BUG with error return 2023-07-25 09:24:31 +02:00
smipcie
solo6x10 media: solo6x10: replace max(a, min(b, c)) by clamp(b, a, c) 2024-02-16 19:10:56 +01:00
sta2x11 gpiolib: remove legacy gpio_export() 2023-03-06 12:33:01 +02:00
ttpci media: ttpci: fix two memleaks in budget_av_attach 2024-03-26 18:19:53 -04:00
tw68 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish 2023-03-19 22:56:45 +01:00
tw686x media: pci: tw686x: no need to check 'next' 2023-06-09 16:09:10 +01:00
tw5864
zoran media: zoran: drop two obsolete prototypes from zoran_device.h 2023-03-20 00:22:34 +01:00
Kconfig media: ipu3-cio2: rename cio2 bridge to ipu bridge and move out of ipu3 2023-07-14 12:40:48 +02:00
Makefile media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" 2023-02-09 09:22:36 +01:00