summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorPhilipp Tomsich <[email protected]>2017-09-11 22:04:11 +0200
committerPhilipp Tomsich <[email protected]>2017-09-18 20:40:33 +0200
commitaf823151641b1a9a8eae8c3b111f5fa27e6873ac (patch)
treeab1c2cc6793ab8511b5f66bea2b95d38cbb5e4c7 /scripts/cleanpatch
parentb61e8b0c9e76dacf0b670c3948c3cd738b2379a3 (diff)
dm: timer: handle being called before dm_root is ready
When used with bootstage recording, dm_timer_init may be called surprisingly early: i.e. before dm_root is ready. To deal with this case, we explicitly check for this condition and return -EAGAIN to the caller (refer to drivers/timer/rockchip_timer.c for a case where this is needed/used). Signed-off-by: Philipp Tomsich <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Philipp Tomsich <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions