diff options
| author | Fei Shao <[email protected]> | 2023-12-21 09:17:46 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2024-04-26 11:58:33 +0100 |
| commit | eb005c801ec70ff4307727bd3bd6e8280169ef32 (patch) | |
| tree | 49e3db0fee569dab7f5c816aec26f51def3af0bb /tools/perf/scripts/python/task-analyzer.py | |
| parent | f19a771ac1e8d762e8a835fad150d7fceffd65c7 (diff) | |
media: mediatek: vcodec: Only free buffer VA that is not NULL
In the MediaTek vcodec driver, while mtk_vcodec_mem_free() is mostly
called only when the buffer to free exists, there are some instances
that didn't do the check and triggered warnings in practice.
We believe those checks were forgotten unintentionally. Add the checks
back to fix the warnings.
Signed-off-by: Fei Shao <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Andrzej Pietrasiewicz <[email protected]>
Signed-off-by: Sebastian Fricke <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions