[PATCH 0/4] media: mediatek: vcodec: VP9 slice setup cleanups and fixes

From: Haoxiang Li

Date: Wed May 06 2026 - 04:45:10 EST


Patches 1 and 2 change the signatures of two functions to void, removing
the now-unnecessary return value and its associated dead error checks.
Patches 3 and 4 add missing memory release operations in error paths,
fixing resource leaks.

These patches are carried out under the guidance of Nicolas Dufresne.
Thanks, Nicolas!

Haoxiang Li (4):
media: mediatek: vcodec: remove redundant return value of
vdec_vp9_slice_setup_lat_buffer()
media: mediatek: vcodec: remove redundant return value of
vdec_vp9_slice_setup_prob_buffer()
media: mediatek: vcodec: free working buf on error path in
vdec_vp9_slice_setup_lat()
media: mediatek: vcodec: free working buf in
vdec_vp9_slice_setup_single()

.../vcodec/decoder/vdec/vdec_vp9_req_lat_if.c | 29 +++++++------------
1 file changed, 11 insertions(+), 18 deletions(-)

--
2.25.1