Messages in this thread | | | Date | Fri, 12 Apr 2013 15:43:52 +0200 | Subject | Re: [PATCH] MFD: ab8500: pass AB8500 IRQ to debugfs code by resource | From | Linus Walleij <> |
| |
On Fri, Apr 12, 2013 at 12:48 PM, Arnd Bergmann <arnd@arndb.de> wrote: > On Friday 12 April 2013, Linus Walleij wrote: >> On Fri, Apr 12, 2013 at 10:08 AM, Arnd Bergmann <arnd@arndb.de> wrote: >> > On Friday 12 April 2013, Linus Walleij wrote: >> >> >> Actually, well, this one IRQ (the one I start to pass) is already >> >> domain-mapped to the global IRQ numberspace, so that one will >> >> be correct. >> > >> > I don't know if we're talking about the same thing here. >> > >> > My point was that passing a domain-mapped IRQ number into mfd_add_devices >> > with another domain will result in the attempt to map that number into >> > another domain, which does not work. >> >> Ah, yes you're right ... now I need to find some other way >> to pass this resource ... hm. > > What is it actually needed for? In the code I'm looking at in linux-next > it only gets passed to a function that ignores it.
Well that is a __attribute((weak)) function. It is overridden by suspend/resume code in the machine to ask the suspend code whether the AB8500 woke the system up.
Arguably not such a nice design :-/
However that suspend code is being posted to the linux-pm mailinglist as we speak, so I don't want to make their life miserable by just deleting some hook they're actually using for testing.
Yours, Linus Walleij
| |