Hi Andrew,
On Tue, May 21, 2019 at 7:24 PM Andrew Lunn wrote:
>
> > static void ocores_process_polling(struct ocores_i2c *i2c)
> > {
> > + const struct of_device_id *match;
> > +
> > + match = of_match_node(ocores_i2c_match, i2c->adap.dev.of_node);
> > +
> > while (1) {
> >
> static void ocores_process_polling(struct ocores_i2c *i2c)
> {
> + const struct of_device_id *match;
> +
> + match = of_match_node(ocores_i2c_match, i2c->adap.dev.of_node);
> +
> while (1) {
> irqreturn_t ret;
> int err;
Please keep with the idea of
The i2c-ocore driver already has a polling mode interface.But it needs
a workaround for FU540 Chipset on HiFive unleashed board (RevA00).
There is an erratum in FU540 chip that prevents interrupt driven i2c
transfers from working, and also the I2C controller's interrupt bit
cannot be cleared if
3 matches
Mail list logo