From: Rajat Jain Date: Wed, 19 Feb 2014 02:53:19 +0000 (-0800) Subject: PCI: pciehp: Remove a non-existent card, regardless of "surprise" capability X-Git-Tag: v3.15-rc1~143^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b3940b60626ac4932fa048cc74f2a872cc4bfb4;p=pandora-kernel.git PCI: pciehp: Remove a non-existent card, regardless of "surprise" capability In case a card is physically yanked out, it should immediately be removed, regardless of the "surprise" capability bit. Thus: - Always handle the physical removal - regardless of the "surprise" bit. - Don't use "surprise" capability when making decisions about enabling presence detect notifications. - Reword the comments to indicate the intent. Signed-off-by: Rajat Jain Signed-off-by: Rajat Jain Signed-off-by: Guenter Roeck Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed