From: rajesh.shah@intel.com Date: Thu, 13 Oct 2005 19:05:39 +0000 (-0700) Subject: [PATCH] shpchp: detect SHPC capability before doing a lot of work X-Git-Tag: v2.6.15-rc1~731^2~22^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4;p=pandora-kernel.git [PATCH] shpchp: detect SHPC capability before doing a lot of work The shpc driver registers its probe function for all pci-pci bridges in the system. Not all of them will be shpc capable, so look for this capability early in the probe function and return if there's no work to do on this bridge. The old shpc driver did some initialization work on all bridges before detecting that shpc is not supported and unwinds the work it's already done in that case. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed