From: Alan Stern Date: Tue, 3 May 2005 20:24:04 +0000 (-0400) Subject: [PATCH] USB dummy_hcd: Centralize link state computations X-Git-Tag: v2.6.13-rc1~51^2~8^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1c39fad7d1bbea31744138cd3a532ff346cd4ab;p=pandora-kernel.git [PATCH] USB dummy_hcd: Centralize link state computations This patch adds to the dummy_hcd driver a new routine for keeping track of all changes in the state of the emulated USB link. The logic is now kept in one spot instead of spread around, and it's easier to verify and update the code. The behavior of the port features has been corrected in a few respects as well (for instance, if the POWER feature is clear then none of the other features can be set). Also added is support for the (relatively new) _connect() and _disconnect() calls of the Gadget API. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed