Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b64c4ce authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: Return different errors in devm_usbpd_get_by_phandle()



Allow callers of devm_usbpd_get_by_phandle() to distinguish
between different errors depending on what failure is encountered.
For instance, return -EPROBE_DEFER if the device is available
but not yet probed, which allows callers to appropriately try
again later.

Change-Id: I96b03d0a4c2a04a405af5a40f9f713443bc5769b
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 4e2a8a0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment