On Fri, 2017-03-03 at 19:25 +0100, Lucas Stach wrote: [...] > > > +int ipu_pre_get(struct ipu_pre *pre) > > > +{ > > > + u32 val; > > > + > > > + if (pre->in_use) > > > + return -EBUSY; > > > > This could race for in_use ... > > All the PRE/PRG configuration functions are thread unsafe, with the > premise that they are only used during an atomic commit, [...] Oh, okay. It would be nice to point this out in a comment. regards Philipp -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html