From: Tejun Heo Date: Mon, 16 Jul 2007 05:29:41 +0000 (+0900) Subject: libata: clear HOTPLUG flag after a reset X-Git-Tag: v2.6.23-rc1~219^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fccb6ea5c240b9f29baa55448488fd6aee49f5a5;p=pandora-kernel.git libata: clear HOTPLUG flag after a reset ATA_EHI_HOTPLUGGED is a hint for reset functions indicating the the port might have gone through hotplug/unplug just before entering EH. Reset functions modify their behaviors a bit to handle the situation better - e.g. using longer debouncing delay. Currently, once HOTPLUG is set, it isn't cleared till the end of EH. This is unnecessary and makes EH take longer. Clear the HOTPLUGGED flag after a reset try (successful or not). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed