diff --git a/src/libcamera/event_dispatcher_poll.cpp b/src/libcamera/event_dispatcher_poll.cpp
index 130b5e20ea09..1f0f352a8e0a 100644
--- a/src/libcamera/event_dispatcher_poll.cpp
+++ b/src/libcamera/event_dispatcher_poll.cpp
@@ -210,7 +210,7 @@ int EventDispatcherPoll::poll(std::vector<struct pollfd> *pollfds)
 
 void EventDispatcherPoll::processInterrupt(const struct pollfd &pfd)
 {
-	if (!pfd.revents & POLLIN)
+	if (!(pfd.revents & POLLIN))
 		return;
 
 	uint64_t value;
