On Wed, Jul 04, 2012 at 03:27:13PM +0000, Arnd Bergmann wrote:
quoted
On Wednesday 04 July 2012, Qiao Zhou wrote:
quoted
quoted
On the other hand, I think it probably makes sense to drop the
irq_base member in this struct and rely on irq domains to allocate
them dynamically as mentioned before.
quoted
quoted
Do you mean that both regmap_add_irq_chip and mfd_add_devices api
pass -1 as the irq_base, so that system can dynamically allocate the irq_base for it?
quoted
regmap_add_irq_chip should pass -1, mfd_add_devices should pass 0.
Mark can probably correct me if that's wrong.
That's right.
Mark, thanks for the confirmation.
Best Regards
Qiao