Re: [PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-02 Thread Rafael J. Wysocki
On Tuesday, September 02, 2014 09:43:49 AM Srinivas Pandruvada wrote: > On Tue, 2014-09-02 at 01:37 +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs > > interface code) the pm_states[] array is not populated

Re: [PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-02 Thread Srinivas Pandruvada
On Tue, 2014-09-02 at 01:37 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs > interface code) the pm_states[] array is not populated initially, > which causes setup_test_suspend() to always fail and the suspend >

Re: [PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-02 Thread Srinivas Pandruvada
On Tue, 2014-09-02 at 01:37 +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs interface code) the pm_states[] array is not populated initially, which causes setup_test_suspend() to always fail

Re: [PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-02 Thread Rafael J. Wysocki
On Tuesday, September 02, 2014 09:43:49 AM Srinivas Pandruvada wrote: On Tue, 2014-09-02 at 01:37 +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs interface code) the pm_states[] array is

[PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs interface code) the pm_states[] array is not populated initially, which causes setup_test_suspend() to always fail and the suspend testing during boot doesn't work any more. Fix the problem by using

[PATCH] PM / sleep: Fix test_suspend= command line option

2014-09-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit d431cbc53cb7 (PM / sleep: Simplify sleep states sysfs interface code) the pm_states[] array is not populated initially, which causes setup_test_suspend() to always fail and the suspend testing during boot doesn't work any more. Fix