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

Skip to content
Commit 55bb02df authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: Further differentiate errors from select_pdo_store



Currently -EINVAL is returned both when a select_pdo string is
improperly formulated as well as when an RDO request is
successfully sent but outright rejected or otherwise failed
to enter a new contract. To allow userspace to differentiate
these two failures, instead return -ECONNREFUSED in the latter
case.

Change-Id: I74378b469745d0ef414f8cae228f79741d4846a5
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 9a24e049
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