diff options
author | Wei Yongjun <[email protected]> | 2016-07-12 08:02:28 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2016-07-13 08:00:57 -0300 |
commit | 2efeec2d035ca4901ca5d53262c814935b730f44 (patch) | |
tree | 4621bb496193c43914927eb0568059803611d3ca /scripts/gcc-plugins/cyc_complexity_plugin.c | |
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions