Skip to content
Snippets Groups Projects
Commit abea14bf authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Boris Brezillon
Browse files

i3c: master: Fix error return in cdns_i3c_master_probe()


Fix to return negative error code -ENOMEM from the error handling
case instead of 0.

Fixes: 603f2bee ("i3c: master: Add driver for Cadence IP")
Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-i3c/20200911033350.23904-1-jingxiangfeng@huawei.com
parent cc3a392d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment