blob: 3eee91166f8841ff4c509398e5ec44fb642e17f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
From fdc626dadfd985e823f4e828f2a542c945aea219 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@st.com>
Date: Tue, 10 Jan 2012 11:21:02 +0100
Subject: [PATCH 2/2] pm/power.d/xfs_buffer: Fix wrong argument ordering
Write the values in the correct order.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=44620
Bug-Ubuntu: https://launchpad.net/bugs/645974
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
---
pm/power.d/xfs_buffer | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pm/power.d/xfs_buffer b/pm/power.d/xfs_buffer
index d21e845..9f06f6e 100644
--- a/pm/power.d/xfs_buffer
+++ b/pm/power.d/xfs_buffer
@@ -59,7 +59,7 @@ xfs_ac() {
xfs_battery() {
state_exists xfs_buffer_default || \
read_values |savestate xfs_buffer_default
- write_values "$XFS_AGE_BUFFER" "$XFS_BUFD" "$XFS_SYNCD"
+ write_values "$XFS_AGE_BUFFER" "$XFS_SYNCD" "$XFS_BUFD"
}
case $1 in
--
1.7.7.3
|