lkml.org 
[lkml]   [2012]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2012-09-28 17:01    [W:0.047 / U:2.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site