diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-05-09 09:56:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-15 16:32:20 +0200 |
commit | 1ea34b2988554af8a83a44a0a8e5aaa9e5a60c64 (patch) | |
tree | 9155b3088809aa915d19cdf39790e35df9c4db7d /ipc | |
parent | ipack: tpci200: fix error return code in tpci200_register() (diff) | |
download | linux-1ea34b2988554af8a83a44a0a8e5aaa9e5a60c64.tar.xz linux-1ea34b2988554af8a83a44a0a8e5aaa9e5a60c64.zip |
bus: mhi: core: Fix some error return code
Fix to return negative error code from the error handling case
instead of 0 in mhi_init_dev_ctxt() and mhi_driver_probe().
Fixes: 3000f85b8f47 ("bus: mhi: core: Add support for basic PM operations")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200509075654.175002-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions