Re: [patch] drivers: gpio: sx150x: Do not access I2C from mask/unmaskfunctions

From: Thomas Gleixner
Date: Mon Feb 14 2011 - 14:59:39 EST


On Mon, 14 Feb 2011, Gregory Bean wrote:

> > static int sx150x_irq_set_type(struct irq_data *d, unsigned int flow_type)
> > @@ -350,7 +353,7 @@ static int sx150x_irq_set_type(struct ir
> >
> > chip->irq_sense &= ~(3UL << (n * 2));
> > chip->irq_sense |= val << (n * 2);
> > - chip->irq_set_type_pending |= BIT(n);
> > + chip->update = n;
>
> Should this be irq_update?

See reply to myself
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/