diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-28 07:01:40 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-28 07:01:40 -0400 |
commit | e52cff8bdd4a30c40a7f65c7ea8f1f425f8a15eb (patch) | |
tree | 1729332ebab51bb560ca64effe46cdab38ab537f /drivers/tty | |
parent | 405a1086bdd091d2d55db0ac905cd6332b35cec1 (diff) | |
parent | f5ce1572109049b90484e2bb44927cb6034c5eb1 (diff) |
Merge branch 'pm-assorted'
* pm-assorted:
PM / QoS: Add pm_qos and dev_pm_qos to events-power.txt
PM / QoS: Add dev_pm_qos_request tracepoints
PM / QoS: Add pm_qos_request tracepoints
PM / QoS: Add pm_qos_update_target/flags tracepoints
PM / QoS: Update Documentation/power/pm_qos_interface.txt
PM / Sleep: Print last wakeup source on failed wakeup_count write
PM / QoS: correct the valid range of pm_qos_class
PM / wakeup: Adjust messaging for wake events during suspend
PM / Runtime: Update .runtime_idle() callback documentation
PM / Runtime: Rework the "runtime idle" helper routine
PM / Hibernate: print physical addresses consistently with other parts of kernel
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/mfd.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/tty/serial/mfd.c b/drivers/tty/serial/mfd.c index 5f4765a7a5c5..5dfcf3bae23a 100644 --- a/drivers/tty/serial/mfd.c +++ b/drivers/tty/serial/mfd.c | |||
@@ -1248,13 +1248,8 @@ static int serial_hsu_resume(struct pci_dev *pdev) | |||
1248 | #ifdef CONFIG_PM_RUNTIME | 1248 | #ifdef CONFIG_PM_RUNTIME |
1249 | static int serial_hsu_runtime_idle(struct device *dev) | 1249 | static int serial_hsu_runtime_idle(struct device *dev) |
1250 | { | 1250 | { |
1251 | int err; | 1251 | pm_schedule_suspend(dev, 500); |
1252 | 1252 | return -EBUSY; | |
1253 | err = pm_schedule_suspend(dev, 500); | ||
1254 | if (err) | ||
1255 | return -EBUSY; | ||
1256 | |||
1257 | return 0; | ||
1258 | } | 1253 | } |
1259 | 1254 | ||
1260 | static int serial_hsu_runtime_suspend(struct device *dev) | 1255 | static int serial_hsu_runtime_suspend(struct device *dev) |