Home
last modified time | relevance | path

Searched hist:"753 dfd23612dfb4b585b7814a94237987fdf3359" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_msm.cdiff 753dfd23612dfb4b585b7814a94237987fdf3359 Wed Jan 25 08:02:48 CST 2017 Wei Yongjun <weiyongjun1@huawei.com> usb: chipidea: msm: Fix return value check in ci_hdrc_msm_probe()

In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: 2fc305be364e ("usb: chipidea: msm: Mux over secondary phy at the
right time")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>