Re: [PATCH v5 2/4] base/platform: Continue on insert_resource() error

2015-06-04 Thread Rob Herring
On Thu, Jun 4, 2015 at 2:54 AM, Grant Likely wrote: > On Tue, 26 May 2015 09:31:24 +0200 > , Ricardo Ribalda Delgado > wrote: >> insert_resource() can fail when the resource added overlaps >> (partially or fully) with another. >> >> Device tree and AMBA devices may contain resources that overla

Re: [PATCH v5 2/4] base/platform: Continue on insert_resource() error

2015-06-04 Thread Ricardo Ribalda Delgado
Hello Grant On Thu, Jun 4, 2015 at 9:54 AM, Grant Likely wrote: > > I'm pretty sure this is going to break some platforms. I described it in > my earlier email today, but I'll summarize here too since this is the > latest patch set. The version that is in stable is also broken. Unloading the d

Re: [PATCH v5 2/4] base/platform: Continue on insert_resource() error

2015-06-04 Thread Grant Likely
On Tue, 26 May 2015 09:31:24 +0200 , Ricardo Ribalda Delgado wrote: > insert_resource() can fail when the resource added overlaps > (partially or fully) with another. > > Device tree and AMBA devices may contain resources that overlap, so they > could not call platform_device_add (see 02bbde784

[PATCH v5 2/4] base/platform: Continue on insert_resource() error

2015-05-26 Thread Ricardo Ribalda Delgado
insert_resource() can fail when the resource added overlaps (partially or fully) with another. Device tree and AMBA devices may contain resources that overlap, so they could not call platform_device_add (see 02bbde7849e6 ('Revert "of: use platform_device_add"'))" On the other hand, device trees