aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2019-04-29 12:25:12 +0000
committerMark Brown <[email protected]>2019-05-02 11:01:17 +0900
commit7c88b92816dfe5eab224b96577b50ac00b4be68a (patch)
tree4a930f4b51e5d77faebdc27ba3a87f0df5d57c7e /drivers/usb/cdns3/cdns3-debug.h
parent62be484f7ad8443c393293a415392fbf3190c864 (diff)
ASoC: sprd: Fix return value check in sprd_mcdt_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: d7bff893e04f ("ASoC: sprd: Add Spreadtrum multi-channel data transfer support") Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions