Commit 68e1d535 authored by Alessandro Rubini's avatar Alessandro Rubini

core: bugfix in FD_GCR_DDR_LOCKED loop

parent 4b945ab9
......@@ -86,7 +86,7 @@ int fd_reset_again(struct spec_fd *fd)
j = jiffies + 2 * HZ;
while (time_before(jiffies, j)) {
if ( !(readl(fd->regs + FD_REG_GCR) & FD_GCR_DDR_LOCKED) )
if (readl(fd->regs + FD_REG_GCR) & FD_GCR_DDR_LOCKED)
break;
msleep(10);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment