* [PATCH 1/2] ACPI dock: support multiple ACPI dock devices
@ 2010-03-22 7:46 Zhang Rui
2010-03-23 4:18 ` Len Brown
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Rui @ 2010-03-22 7:46 UTC (permalink / raw)
To: Brown, Len; +Cc: linux-acpi@vger.kernel.org, Li, Shaohua, Zhang, Rui
There may be multiple ACPI dock devices exist in ACPI namespace
and we should probe all of them.
http://bugzilla.kernel.org/show_bug.cgi?id=15521
CC: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
drivers/acpi/dock.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
Index: linux-2.6/drivers/acpi/dock.c
===================================================================
--- linux-2.6.orig/drivers/acpi/dock.c 2010-03-22 10:19:00.000000000 +0800
+++ linux-2.6/drivers/acpi/dock.c 2010-03-22 10:22:31.000000000 +0800
@@ -1025,13 +1025,10 @@
static acpi_status
find_dock(acpi_handle handle, u32 lvl, void *context, void **rv)
{
- acpi_status status = AE_OK;
-
if (is_dock(handle))
- if (dock_add(handle) >= 0)
- status = AE_CTRL_TERMINATE;
+ dock_add(handle);
- return status;
+ return AE_OK;
}
static acpi_status
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] ACPI dock: support multiple ACPI dock devices
2010-03-22 7:46 [PATCH 1/2] ACPI dock: support multiple ACPI dock devices Zhang Rui
@ 2010-03-23 4:18 ` Len Brown
0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2010-03-23 4:18 UTC (permalink / raw)
To: Zhang Rui; +Cc: linux-acpi@vger.kernel.org, Li, Shaohua
applied
thanks,
Len Brown, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-23 4:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-22 7:46 [PATCH 1/2] ACPI dock: support multiple ACPI dock devices Zhang Rui
2010-03-23 4:18 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox