[PATCH] platform: reorder platform_device_del

2007-05-02 Thread Jean Delvare
Hi Greg, I seem to remember that you had acked this patch, however it still isn't in Linus' tree. Some of the hwmon patches I want to send to Linus for 2.6.22 depend on it. Can you please push it now? Thanks. * * * * * In platform_device_del(), we currently delete the device resources first,

[PATCH] platform: reorder platform_device_del

2007-05-02 Thread Jean Delvare
Hi Greg, I seem to remember that you had acked this patch, however it still isn't in Linus' tree. Some of the hwmon patches I want to send to Linus for 2.6.22 depend on it. Can you please push it now? Thanks. * * * * * In platform_device_del(), we currently delete the device resources first,

Re: [PATCH] platform: reorder platform_device_del

2007-02-20 Thread Jean Delvare
Hi Dmitry, On Mon, 19 Feb 2007 09:40:09 -0500, Dmitry Torokhov wrote: > But the thing is that when you add resources to a platofrm device it > is platform_device_add() that marks resources as busy and therefore it No, devices declare the resources, but do not mark them as busy. Otherwise any

Re: [PATCH] platform: reorder platform_device_del

2007-02-20 Thread Jean Delvare
Hi Dmitry, On Mon, 19 Feb 2007 09:40:09 -0500, Dmitry Torokhov wrote: But the thing is that when you add resources to a platofrm device it is platform_device_add() that marks resources as busy and therefore it No, devices declare the resources, but do not mark them as busy. Otherwise any

Re: [PATCH] platform: reorder platform_device_del

2007-02-19 Thread Dmitry Torokhov
Hi Jean, On 2/19/07, Jean Delvare <[EMAIL PROTECTED]> wrote: Hi Dmitry, On Mon, 19 Feb 2007 01:05:30 -0500, Dmitry Torokhov wrote: > On Sunday 18 February 2007 15:30, Jean Delvare wrote: > > In platform_device_del(), we currently delete the device resources > > first, then we delete the device

Re: [PATCH] platform: reorder platform_device_del

2007-02-19 Thread Jean Delvare
Hi Dmitry, On Mon, 19 Feb 2007 01:05:30 -0500, Dmitry Torokhov wrote: > On Sunday 18 February 2007 15:30, Jean Delvare wrote: > > In platform_device_del(), we currently delete the device resources > > first, then we delete the device itself. This causes a (minor) bug to > > occur when one

Re: [PATCH] platform: reorder platform_device_del

2007-02-19 Thread Jean Delvare
Hi Dmitry, On Mon, 19 Feb 2007 01:05:30 -0500, Dmitry Torokhov wrote: On Sunday 18 February 2007 15:30, Jean Delvare wrote: In platform_device_del(), we currently delete the device resources first, then we delete the device itself. This causes a (minor) bug to occur when one unregisters a

Re: [PATCH] platform: reorder platform_device_del

2007-02-19 Thread Dmitry Torokhov
Hi Jean, On 2/19/07, Jean Delvare [EMAIL PROTECTED] wrote: Hi Dmitry, On Mon, 19 Feb 2007 01:05:30 -0500, Dmitry Torokhov wrote: On Sunday 18 February 2007 15:30, Jean Delvare wrote: In platform_device_del(), we currently delete the device resources first, then we delete the device

Re: [PATCH] platform: reorder platform_device_del

2007-02-18 Thread Dmitry Torokhov
Hi Jean, On Sunday 18 February 2007 15:30, Jean Delvare wrote: > In platform_device_del(), we currently delete the device resources > first, then we delete the device itself. This causes a (minor) bug to > occur when one unregisters a platform device before unregistering its > platform driver,

[PATCH] platform: reorder platform_device_del

2007-02-18 Thread Jean Delvare
In platform_device_del(), we currently delete the device resources first, then we delete the device itself. This causes a (minor) bug to occur when one unregisters a platform device before unregistering its platform driver, and the driver is requesting (in .probe()) and releasing (in .remove()) a

[PATCH] platform: reorder platform_device_del

2007-02-18 Thread Jean Delvare
In platform_device_del(), we currently delete the device resources first, then we delete the device itself. This causes a (minor) bug to occur when one unregisters a platform device before unregistering its platform driver, and the driver is requesting (in .probe()) and releasing (in .remove()) a

Re: [PATCH] platform: reorder platform_device_del

2007-02-18 Thread Dmitry Torokhov
Hi Jean, On Sunday 18 February 2007 15:30, Jean Delvare wrote: In platform_device_del(), we currently delete the device resources first, then we delete the device itself. This causes a (minor) bug to occur when one unregisters a platform device before unregistering its platform driver, and