]> git.baikalelectronics.ru Git - kernel.git/commit
PM: runtime: Make clear what we do when conditions are wrong in rpm_suspend()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 22 May 2020 15:09:55 +0000 (18:09 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 May 2020 08:54:39 +0000 (10:54 +0200)
commitaaf16d26db3e00d7fbb43a58b319bd1051768ee8
treef61ded0172d15596de80a059260de0b266706c91
parentae1635a76aa66d84790309cee01dfbe51e92a9b8
PM: runtime: Make clear what we do when conditions are wrong in rpm_suspend()

rpm_suspend() simple bails out when conditions are wrong. But this is not
immediately obvious from the code.  Make it clear what we do when conditions
are wrong in rpm_suspend().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/runtime.c