From: Hennerich, Michael Date: Wed, 2 Sep 2009 08:26:21 +0000 (+0100) Subject: USB: sl811-hcd: Fix device disconnect: X-Git-Tag: v2.6.32-rc1~174^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb661bc88252e5c6dc69df732e77e42981dd4d8b;p=pandora-kernel.git USB: sl811-hcd: Fix device disconnect: SL811 Device detected after removal used to be working in linux-2.6.22 but then broke somewhere between 2.6.22 and 2.6.28. Current hub_port_connect_change() in drivers/usb/core/hub.c won't call usb_disconnect() in case the SL811 driver sets portstatus USB_PORT_FEAT_CONNECTION upon removal. AFAIK the SL811 has only a combined Device Insert/Remove detection bit, therefore use a count to distinguish insert or remove. Signed-Off-By: Michael Hennerich Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed