Skip to content

display-factory: Correctly return from idle callback

Benjamin Berg requested to merge benzea/fix-idle-cb-return into master

The idle callback was defined as a void function rather than returning a boolean as it should. This meant that the return value may end up being non-zero in some situations causing an infinite loop.

This seems to only happen on aarch64 and possibly only with certain compiler versions.

Closes: #668 (closed)

Merge request reports