diff options
author | 2021-07-12 20:12:09 +0200 | |
---|---|---|
committer | 2021-08-09 22:16:56 +0800 | |
commit | 5b0ef98ed1e227b3e113a095abcaa0a22bb18400 (patch) | |
tree | be51c378694f900250c2ef2ca5e15966e046aa22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/mediatek: Add support for main DDP path on MT8167 (diff) | |
download | wireguard-linux-5b0ef98ed1e227b3e113a095abcaa0a22bb18400.tar.xz wireguard-linux-5b0ef98ed1e227b3e113a095abcaa0a22bb18400.zip |
drm/mediatek: Test component initialization earlier in the function mtk_drm_crtc_create
The initialization is currently tested in a later stage in
the function for no reason.
In addition, the test '!comp' will never fail since comp is
set with the '&' operator. Instead, test if a comp was not
initialized by testing "!comp->dev".
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions