ASoC: msm: defer the machine driver probing if ADSP is down
Update the machine driver probing function to check the ADSP state
at the beginning of the function and return -EPROBE_DEFER if the
ADSP state is down. This reduces the amount of time spent in each
deferred machine driver probing.
The machine driver depends on a set of other drivers which ultimately
depends on the ADSP state to be up. Currently the machine driver
detects that its dependent drivers not being ready at a late stage
of the probing.
CRs-fixed: 2001641
Change-Id: I8fdaa7261aecee48f1927acf1303a52e48753006
Signed-off-by:
Honghao Liu <honghaol@codeaurora.org>
Loading
Please register or sign in to comment