#include <media/v4l2-ctrls.h>
#include <media/v4l2-dv-timings.h>
#include <media/adv7511.h>
+#include <asm/barrier.h>
static int debug;
module_param(debug, int, 0644);
if (edid->start_block >= state->edid.segments * 2)
return -EINVAL;
+
+ speculation_barrier();
if (edid->start_block + edid->blocks > state->edid.segments * 2)
edid->blocks = state->edid.segments * 2 - edid->start_block;