Re: [PATCH] staging: Platform device tester - Allow removal

Pantelis Antoniou
2013-08-13T19:04:43Z

Hi Russell,

On Aug 13, 2013, at 10:02 PM, Russell King - ARM Linux wrote:

> On Tue, Aug 13, 2013 at 09:59:03PM +0300, Pantelis Antoniou wrote:
>> Hi Greg,
>>
>> Just to make sure we're on the same page this is with my platform device
>> removal patchset applied.
>>
>> Without it you get the original crash I've posted in the pdevtest patch with
>> the unbind method.
>
> Yes, congratulations, you've found a bug in the way OMAP uses the runtime
> PM stuff in this driver. That bug needs to be fixed irrespective of
> anything else.

Not just OMAP. And not just PM stuff.
There are crashes occurring due to the way resources are handled by
platform devices created via OF.

Regards

-- Pantelis