diff options
| author | Simon Glass <sjg@chromium.org> | 2025-05-02 08:46:52 -0600 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2025-05-30 09:49:32 +0100 |
| commit | 8d7ae52d7735ffecf34fa8b2657ee2fcfaac51b6 (patch) | |
| tree | bf18ccb08e433a76d663f7d0e23c9aade5ab9ac9 /boot/cedit.c | |
| parent | 5bca4798971a1ea32c43994e35f63f1964b2ddf6 (diff) | |
expo: Drop the render from expo_poll()
Within tests it is useful to be able to control rendering of the expo.
Drop the automatic call to expo_render() within expo_poll() and adjust
its callers to handle this instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/cedit.c')
| -rw-r--r-- | boot/cedit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/cedit.c b/boot/cedit.c index 8faf230a9e2..56dc7c6af15 100644 --- a/boot/cedit.c +++ b/boot/cedit.c @@ -219,6 +219,10 @@ int cedit_run(struct expo *exp) do { struct expo_action act; + ret = expo_render(exp); + if (ret) + return log_msg_ret("cer", ret); + ret = expo_poll(exp, &act); if (!ret) cedit_do_action(exp, scn, vid_priv, &act); |
