Re: [PATCH v3 1/2] mfd: add irq domain support for max8997 interrupts

From: Chanwoo Choi
Date: Sun May 20 2012 - 19:28:34 EST


Hi Greg,

On 05/19/2012 08:59 AM, Greg KH wrote:

> On Wed, May 16, 2012 at 04:41:44PM +0900, Chanwoo Choi wrote:
>> From: Thomas Abraham <thomas.abraham@xxxxxxxxxx>
>>
>> Add irq domain support for max8997 interrupts. The reverse mapping method
>> used is linear mapping since the sub-drivers of max8997 such as regulator
>> and charger drivers can use the max8997 irq_domain to get the linux irq
>> number for max8997 interrupts. All uses of irq_base in platform data and
>> max8997 driver private data are removed.
>>
>> Signed-off-by: Thomas Abraham <thomas.abraham@xxxxxxxxxx>
>> Acked-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
>> Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx>
>> Acked-by: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
>> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
>> [Fix two bug which set max8997->irq_domain and correct wrong parameter]
>> Signed-off-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
>> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
>
> Same problem as before, I apply this and it breaks the build with the
> following errors:
>
> drivers/extcon/extcon-max8997.c: In function âmax8997_muic_irq_workâ:
> drivers/extcon/extcon-max8997.c:350:36: error: âstruct max8997_devâ has no member named âirq_baseâ
> drivers/extcon/extcon-max8997.c: In function âmax8997_muic_probeâ:
> drivers/extcon/extcon-max8997.c:452:35: error: âstruct max8997_platform_dataâ has no member named âirq_baseâ
> drivers/extcon/extcon-max8997.c: In function âmax8997_muic_removeâ:
> drivers/extcon/extcon-max8997.c:514:19: error: âstruct max8997_devâ has no member named âirq_baseâ
>
> Please fix.

I posted patchset including below two patch. The second patch fix that
extcon-max8997 driver use irq_domain instead of irq_base field in
'struct max8997_dev'.

Please apply second patch when test this patchset.
If you want to consolidate this patchset, I will resend it.

[PATCH v3 1/2] mfd: add irq domain support for max8997 interrupts
[PATCH v3 2/2] Extcon: MAX8997: Add support irq domain for MAX8997 muic

Best Regards,
Chanwoo Choi

--
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/