[PATCH 1/3] mfd: support 88pm80x in 80x driver
From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-06-29 14:21:40
From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-06-29 14:21:40
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