Re: [PATCH v2] base/platform: assert that dev_pm_domain callbacks are called unconditionally

2015-08-06 Thread Greg Kroah-Hartman
On Thu, Aug 06, 2015 at 10:32:55AM +0200, Uwe Kleine-König wrote: > Hello, > > On Thu, Aug 06, 2015 at 10:31:00AM +0200, Uwe Kleine-König wrote: > > From: Uwe Kleine-König > grumpf, I forgot to fix the author, only adapted the s-o-b-line. Greg, > can you fix this on application? No, please resen

Re: [PATCH v2] base/platform: assert that dev_pm_domain callbacks are called unconditionally

2015-08-06 Thread Uwe Kleine-König
Hello, On Thu, Aug 06, 2015 at 10:31:00AM +0200, Uwe Kleine-König wrote: > From: Uwe Kleine-König grumpf, I forgot to fix the author, only adapted the s-o-b-line. Greg, can you fix this on application? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König

[PATCH v2] base/platform: assert that dev_pm_domain callbacks are called unconditionally

2015-08-06 Thread Uwe Kleine-König
From: Uwe Kleine-König When a platform driver doesn't provide a .remove callback the function platform_drv_remove isn't called and so the call to dev_pm_domain_attach called at probe time isn't paired by dev_pm_domain_detach at remove time. To fix this (and similar issues if different callbacks