[PATCH 1/3] mfd: support 88pm80x in 80x driver

Arnd Bergmann arnd at arndb.de
Fri Jun 29 10:21:40 EDT 2012


On Thursday 28 June 2012, Qiao Zhou wrote:
> +       ret =
> +           regmap_add_irq_chip(chip->regmap, chip->irq, flags, chip->irq_base,
> +                               chip->regmap_irq_chip, &chip->irq_data);

One more question I have about this, mainly for Mark:

I understand that by passing -1 into regmap_add_irq_chip, it should allocate
its own linear irq domain rather using a legacy domain. Does that require
any other changes? Should the drivers that use the irq number just use
regmap_irq_get_virq() to get the linux irq number, or is there more to do
here?

	Arnd



More information about the linux-arm-kernel mailing list