From: Alan Stern Date: Thu, 5 Apr 2007 20:03:49 +0000 (-0400) Subject: USB: more autosuspend timer stuff X-Git-Tag: v2.6.22-rc3~91^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef7f6c7084b333c7524dcd297e0578d43733a2a2;p=pandora-kernel.git USB: more autosuspend timer stuff This patch (as879) ties up some loose ends from an earlier patch. These are things I didn't think to include at the time but which clearly belonged there. If an autosuspend fails because driver activity races with the autosuspend call, restart the autosuspend timer. When a device is resumed by an external request, it counts as device activity and should update the last_busy time so that the next autoresume won't occur immediately. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed