summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-03-11 09:57:22 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 11:28:21 -0300
commitb279265cfd677b618f2aee8089073a3e4632d85b (patch)
tree0a45a9361b8dce315ca5db458afc56c7b4db6ff9 /drivers/media/pci
parent9719afae5e589b409e137c36f89073d134f0de33 (diff)
downloadtalos-op-linux-b279265cfd677b618f2aee8089073a3e4632d85b.tar.gz
talos-op-linux-b279265cfd677b618f2aee8089073a3e4632d85b.zip
[media] davinci: vpfe: fix return value check in vpfe_enable_clock()
In case of error, the function clk_get() returns ERR_PTR() and never 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> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud