Messages in this thread |  | | | Date | Tue, 7 Aug 2012 11:38:51 +0100 | | From | Mark Brown <> | | Subject | Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM |
| |
On Tue, Aug 07, 2012 at 09:47:25AM +0800, Haojian Zhuang wrote:
> It's because IO_SPACE_LIMIT is set as 0 if there's no PCI devices. But > IORESOURCE_IO is also used in PMIC mfd drivers to distinguish > different components.
The change to keep things working here (pending the other changes which Russell wants) is to add a dummy resource with a wide enough range of registers defined and make it the parent for all the _IO resouces the PMIC has. This will put all the PMIC _IO resources in a separate tree to ioport_resource which can have the resorces added.
If nothing else this seems much more suitable for stable and -rc (the bug has been there since v3.4).
|  |