diff options
| author | Honghao Liu <honghaol@codeaurora.org> | 2017-01-12 16:26:11 -0500 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-30 09:25:15 -0700 |
| commit | 69173e41aa5f70ea2462130a05d42df2435ed9b2 (patch) | |
| tree | 9854ef370e46bd70059a3b4db6a570887a2d7215 /include/linux/fpga/fpga-mgr.h | |
| parent | 4166896b94303a3f8952d9af6f06fdb7a2b1b45d (diff) | |
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>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
