commit | b68231a1b5e95a532f4d5135cdbd0fe6b0bfcb3b | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Oct 30 00:15:13 2013 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Dec 10 06:36:21 2013 -0200 |
tree | 4c2c0cb242a0a53eece03f5d50fa9d01367fb82d | |
parent | 6676cafe6bb69898cdb94937651249d0999e4b59 [diff] |
[media] v4l: ti-vpe: fix return value check in vpe_probe() In case of error, the function devm_kzalloc() and devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Archit Taneja <archit@ti.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>