Searched hist:"5867875 cb7098007b82c3f5b5dd7af9c7cf9e63d" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/timer/ |
| H A D | timer-uclass.c | 5867875cb7098007b82c3f5b5dd7af9c7cf9e63d Mon Sep 11 20:04:11 UTC 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> UPSTREAM: 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).
Change-Id: Ia35fea65924a73b6cc4b182ba28823b207be8e6f Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit af823151641b1a9a8eae8c3b111f5fa27e6873ac)
|