summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-10-10 03:59:39 +0000
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-10-09 23:08:07 -0700
commit6e6b1ada0c6a745b0190016b1f50b699a625a944 (patch)
tree07c57ecde75f3d7742ad0e24cc26685788f4a403 /drivers/input
parentffa5f9c84810ea175226863f66a51bb2d4502f5b (diff)
downloadlwn-6e6b1ada0c6a745b0190016b1f50b699a625a944.tar.gz
lwn-6e6b1ada0c6a745b0190016b1f50b699a625a944.zip
remoteproc: qcom: qcom_q6v5_adsp: Fix some return value check
In case of error, the functions devm_kcalloc() and devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Also removed -EPROBE_DEFER check since devm_kcalloc never return this error. Fixes: dc160e449122 ("remoteproc: qcom: Introduce Non-PAS ADSP PIL driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions