diff options
| author | Qiheng Lin <linqiheng@huawei.com> | 2022-12-02 11:18:36 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-06 08:58:43 +0100 |
| commit | 1963689bed4d500236938d90c91cdd5e63c1eb28 (patch) | |
| tree | c4ef67d3a0460d8f34b525afa14dff758cee2b73 /tools/perf/scripts/python/flamegraph.py | |
| parent | 01cb370ff6c5abf2d64985832ff165f353ac04bb (diff) | |
| download | linux-1963689bed4d500236938d90c91cdd5e63c1eb28.tar.gz linux-1963689bed4d500236938d90c91cdd5e63c1eb28.zip | |
media: platform: mtk-mdp3: Fix return value check in mdp_probe()
In case of error, the function mtk_mutex_get()
returns ERR_PTR() and never returns NULL. The NULL test in the
return value check should be replaced with IS_ERR().
And also fix the err_free_mutex case.
Fixes: 61890ccaefaf ("media: platform: mtk-mdp3: add MediaTek MDP3 driver")
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
