commit | ffe57033008ba7b09f1319ea0f7fb8d91624046a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Jul 12 08:00:55 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Jul 13 07:59:52 2016 -0300 |
tree | 6894c4f006be74960413382f6ec6355207560da1 | |
parent | 980e0b36b55985dd0a37acd25d29c8f21482db32 [diff] |
[media] VPU: mediatek: fix return value check in mtk_vpu_probe() 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>