]> err.no Git - linux-2.6/commit
[PATCH] USB hub: don't return status > 0 from resume
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 19 Jun 2006 19:12:38 +0000 (15:12 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:03:22 +0000 (16:03 -0700)
commitb40b7a905ce57608ca93c5032d5ab1f5508d2f11
tree90a903dd48e9b9e3908f0a506704d039011bb204
parenteecd11ed47c8c9bd8e7e3dff35baccae18dd0d84
[PATCH] USB hub: don't return status > 0 from resume

finish_device_resume() in the hub driver isn't careful always to return
a negative code in all the error pathways.  It also doesn't return 0 in
all the success pathways.  This patch (as724) fixes the behavior.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c