Messages in this thread | | | Date | Fri, 28 Sep 2012 15:29:24 +0100 | From | Mark Brown <> | Subject | Re: [PATCH v2] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe |
| |
On Fri, Sep 28, 2012 at 11:33:24AM -0300, Fabio Estevam wrote:
> Would you prefer the version below? If so, I can send it as v3:
> - da9052->irq_base = regmap_irq_chip_get_base(da9052->irq_data); > + da9052->irq = regmap_irq_get_virq(da9052->irq_data, 0);
No, this doesn't support linear domains, if you're going to do this it'd be better to just leave it as irq_base though as discussed that's not ideal. When I've done these conversions I've just done the virq conversion at every use.
| |