diff options
author | Wei Yongjun <[email protected]> | 2020-05-09 07:56:54 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-15 16:32:20 +0200 |
commit | 1ea34b2988554af8a83a44a0a8e5aaa9e5a60c64 (patch) | |
tree | 9155b3088809aa915d19cdf39790e35df9c4db7d /include/linux/fpga/fpga-mgr.h | |
parent | 133317479f0324f6faaf797c4f5f3e9b1b36ce35 (diff) |
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions