Messages in this thread | | | Date | Mon, 18 Mar 2013 09:05:14 -0700 | From | Greg KH <> | Subject | Re: [PATCH] pm: print the name of failed suspend function for platform device |
| |
On Mon, Mar 18, 2013 at 01:58:23PM +0800, Li Fei wrote: > > Print more info when platform device suspend function failed. > Without this patch, we can not get the real platform device suspend > API info. > > Example without this patch: > pm_op(): platform_pm_suspend+0x0/0x50 returns -11 > PM: Device power.0 failed to suspend: error -11 > > And with this patch: > platform_pm_suspend(): power_suspend+0x0/0x30 returns -11 > pm_op(): platform_pm_suspend+0x0/0x80 returns -11 > PM: Device power.0 failed to suspend: error -11
How does that help someone out? One extra line? What is that going to allow a user to now do?
greg k-h
| |