diff for duplicates of <20100330224230.7b84df75@neptune.home> diff --git a/a/1.txt b/N1/1.txt index f0324b5..75e2b30 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -6,7 +6,7 @@ only calling suspend on plain suspend, not autosuspend. (it might be worth adding an autosuspend parameter to suspend hook and calling suspend in both cases) -Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> +Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> --- Note: @@ -41,7 +41,7 @@ index 3e7909b..9acf573 100644 + if (hid->driver && hid->driver->resume) { + int ret = hid->driver->resume(hid); -+ if (ret < 0 && status = 0) ++ if (ret < 0 && status == 0) + status = ret; + } dev_dbg(&intf->dev, "resume status %d\n", status); @@ -58,7 +58,7 @@ index 3e7909b..9acf573 100644 + status = hid_post_reset(intf); + if (hid->driver && hid->driver->reset_resume) { + int ret = hid->driver->reset_resume(hid); -+ if (ret < 0 && status = 0) ++ if (ret < 0 && status == 0) + status = ret; + } + return status; diff --git a/a/content_digest b/N1/content_digest index 8998f76..74a4576 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -9,8 +9,8 @@ "ref\0alpine.LNX.2.00.1003301010410.24576@pobox.suse.cz\0" "ref\020100330223224.18fe4f3e@neptune.home\0" "From\0Bruno Pr\303\251mont <bonbons@linux-vserver.org>\0" - "Subject\0[PATCH v6 7/8, needs improvement] hid: add suspend/resume hooks for\0" - "Date\0Tue, 30 Mar 2010 20:42:30 +0000\0" + "Subject\0[PATCH v6 7/8, needs improvement] hid: add suspend/resume hooks for hid drivers\0" + "Date\0Tue, 30 Mar 2010 22:42:30 +0200\0" "To\0Jiri Kosina <jkosina@suse.cz>\0" "Cc\0Dmitry Torokhov <dmitry.torokhov@gmail.com>" linux-input@vger.kernel.org @@ -31,7 +31,7 @@ "(it might be worth adding an autosuspend parameter to suspend\n" "hook and calling suspend in both cases)\n" "\n" - "Signed-off-by: Bruno Pr\303\203\302\251mont <bonbons@linux-vserver.org>\n" + "Signed-off-by: Bruno Pr\303\251mont <bonbons@linux-vserver.org>\n" "---\n" "\n" "Note:\n" @@ -66,7 +66,7 @@ " \n" "+\tif (hid->driver && hid->driver->resume) {\n" "+\t\tint ret = hid->driver->resume(hid);\n" - "+\t\tif (ret < 0 && status = 0)\n" + "+\t\tif (ret < 0 && status == 0)\n" "+\t\t\tstatus = ret;\n" "+\t}\n" " \tdev_dbg(&intf->dev, \"resume status %d\\n\", status);\n" @@ -83,7 +83,7 @@ "+\tstatus = hid_post_reset(intf);\n" "+\tif (hid->driver && hid->driver->reset_resume) {\n" "+\t\tint ret = hid->driver->reset_resume(hid);\n" - "+\t\tif (ret < 0 && status = 0)\n" + "+\t\tif (ret < 0 && status == 0)\n" "+\t\t\tstatus = ret;\n" "+\t}\n" "+\treturn status;\n" @@ -119,4 +119,4 @@ "-- \n" 1.6.4.4 -3cc4c07f7bab0d72782abb530144048ba6641de528dddf169cbefd81b693068c +4158e70db4f0936b8917f9d9d31b38f034778ddce8dd1a125cbe20261e48a36e
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.