diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-12 08:02:28 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-13 08:00:57 -0300 |
commit | 2efeec2d035ca4901ca5d53262c814935b730f44 (patch) | |
tree | 4621bb496193c43914927eb0568059803611d3ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 14ee452f3a6db34706f2560951cd0010aff2c848 (diff) |
[media] vcodec: mediatek: Fix return value check in mtk_vcodec_init_enc_pm()
In case of error, the function devm_clk_get() returns ERR_PTR()
and not returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions