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

Skip to content
Commit af8d3f53 authored by Jeffrey Hugo's avatar Jeffrey Hugo Committed by Chris Lew
Browse files

soc: qcom: qmi: Return EPROBE_DEFER if no address family



If a client comes up early in the boot process (perhaps was a built-in
driver), qmi_handle_init() will likely fail with a EAFNOSUPPORT since the
underlying ipc router hasn't init'd and registered the address family.
This should not be a fatal error since chances are, the router will come
up later, so recode the error to EPROBE_DEFER so that clients will retry
later.

Change-Id: Ibbaa0a6665c67dbee7315e353da82ad355162422
Signed-off-by: default avatarJeffrey Hugo <jeffrey.l.hugo@gmail.com>
Link: https://lore.kernel.org/r/20191106230511.1290-1-jeffrey.l.hugo@gmail.com


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Git-commit: 52af26e33e700158e6549f1465fcf9da099fabfa
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 9a643a21
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