Commit 2aee873a authored by Zhen Lei's avatar Zhen Lei Committed by Connor O'Brien
Browse files

UPSTREAM: usb: dwc3: imx8mp: fix error return code in dwc3_imx8mp_probe()



Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.

Fixes: 6dd25659 ("usb: dwc3: add imx8mp dwc3 glue layer driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Acked-by: default avatarFelipe Balbi <balbi@kernel.org>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210508015310.1627-1-thunder.leizhen@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 0b2b149e)
Bug: 187129171
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
Change-Id: Ib16b20081ca496276a86792a08c039115fd38fd6
parent ff1eb3fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment