When the cyclic function video_idle() takes too long a message like the
following is displaced:

   cyclic function video_init took too long: 87707us vs 5000us max

The text "video_init" is misleading. Replace it by "video_idle".

Signed-off-by: Heinrich Schuchardt <[email protected]>
---
 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

Reply via email to