]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
video: correct label for cyclic video_idle master
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 31 Dec 2025 19:21:57 +0000 (20:21 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 29 Jan 2026 16:00:59 +0000 (10:00 -0600)
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 <trini@konsulko.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
drivers/video/video-uclass.c

index 53641fc28b6cf1c767e9f4dfcddc78581537d19f..228d6bacc58337274667292e3d1eb5ded8ac6bc8 100644 (file)
@@ -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;
        }