When the cyclic function video_idle() takes too long, a message like the following is displayed:
cyclic function video_init took too long: 87707us vs 5000us max The text "video_init" is misleading. Replace it by "video_idle". Reviewed-by: Tom Rini <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]> --- v2: fix typos in the commit essage --- drivers/video/video-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index 53641fc28b6..228d6bacc58 100644 --- a/drivers/video/video-uclass.c +++ b/drivers/video/video-uclass.c @@ -734,7 +734,7 @@ static int video_post_probe(struct udevice *dev) uint ms = CONFIG_IF_ENABLED_INT(CYCLIC, VIDEO_SYNC_CYCLIC_MS); cyclic_register(&uc_priv->cyc, video_idle, ms * 1000, - "video_init"); + "video_idle"); uc_priv->cyc_active = true; } -- 2.51.0

