lkml.org 
[lkml]   [2009]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Convert MMC subsys drivers to dev_pm_ops
Date
Marek Vasut wrote:
> +static struct dev_pm_ops cm710_mmc_pm_ops = {
> + .suspend = cb710_mmc_suspend,
> + .resume = cb710_mmc_resume,
> +};

This is almost certainly wrong (same for the other drivers you converted)
as they now no longer support hibernation, which requires different ops.
Please see: http://lkml.org/lkml/2009/7/25/118.

You also seem to have handled the #ifndef CONFIG_PM case incorrectly.
See http://lkml.org/lkml/2009/8/3/253 for an example how it can be done.

There have already been several threads on lkml discussing this. Please
search for posts with dev_pm_ops in the subject if you want more
information.

Also, please CC linux-pm@lists.linux-foundation.org on patches related to
this conversion.

Cheers,
FJP


\
 
 \ /
  Last update: 2009-08-22 07:15    [W:0.044 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site