aboutsummaryrefslogtreecommitdiff
path: root/libstb
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-11-23 11:45:59 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-24 16:47:16 +1100
commit2981a7bfc9dc3b1b642a868b09a75d011c49063a (patch)
tree1872a34ff102d1fdf1269ca3c7f3f8e982c26c76 /libstb
parentecac29429861a912bd061df799dbc54493966f98 (diff)
downloadskiboot-2981a7bfc9dc3b1b642a868b09a75d011c49063a.zip
skiboot-2981a7bfc9dc3b1b642a868b09a75d011c49063a.tar.gz
skiboot-2981a7bfc9dc3b1b642a868b09a75d011c49063a.tar.bz2
wait_for_resource_loaded: don't needlessly sleep for 5ms
We would needlessly time_wait_ms_nopoll(5) if opal_run_pollers() managed to crank things enough to load the requested resource. Instead of needlessly sleeping, check the result of resource_loaded() *before* going to sleep for a bit. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb')
0 files changed, 0 insertions, 0 deletions